Programmatically edit a treeview label: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
m
Added to Tutorials category
(→‎Getting it to work: added vdf source tags)
m (Added to Tutorials category)
 
(2 intermediate revisions by 2 users not shown)
Line 42: Line 42:
Correct syntax would be
Correct syntax would be


<source lang="vdf">
   Procedure AddAndEditItem
   Procedure AddAndEditItem
     Handle hItem
     Handle hItem
Line 54: Line 55:
     End
     End
   End_Procedure
   End_Procedure
</source>


Depending on the version of VDF you are using you have the following events and  
Depending on the version of VDF you are using you have the following events and  
properties
properties
<source lang="vdf">
  pbCancelEdit
  pbCancelEdit
  OnBeginLabelEdit
  OnBeginLabelEdit
  OnEndLabelEdit
  OnEndLabelEdit
</source>


These are documented in the Help system
These are documented in the Help system
Line 69: Line 73:


[http://msdn.microsoft.com/en-us/library/bb773562(VS.85).aspx MSDN TVM_EDITLABEL Message]
[http://msdn.microsoft.com/en-us/library/bb773562(VS.85).aspx MSDN TVM_EDITLABEL Message]
[[Category:How To]]
[[Category:Tutorials]]

Navigation menu