Live Chat by Hybrid Solutions
Knowledgebase
GUITreeCollapseCheck
Posted by Mohammad Rahhal on 22 May 2012 04:24 PM

Syntax

Public Function GUITreeCheck(formId, controlID, NodeKey)

The GUIKeyUp is generated to handle the key up event on a control.

Parameters

Key Description 
formId Form identifier, must be a number greater than 3000 and less than 10,000.
controlID Control identifier. If it was an empty string, this means that the event has been raised for the form.
NodeKey The key of the node in the tree

Sample

 

Public Sub main()

 dim frmID

 frmID = "4000"

 CreateVTLForm CSTR(frmID) , false

 CreateVTLControl CSTR(frmID) , "tree" , GUI_TREE_VIEW

 SetTreeData CSTR(frmID) , "tree" , TREE_ADD_NODE , CSTR("") , false , CSTR("Root") , CSTR("Root")

 SetTreeData CSTR(frmID) , "tree" , TREE_ADD_NODE , CSTR("Root") , true , CSTR("Child") , CSTR("Child")

End Sub


Public Sub GUITreeCollapseCheck(formId, controlID,NodeKey)

 If controlID = "tree" then 

   msgBox ("tree has been collapsed")

 End If

End Sub




See Also


Back to VTL Client Script Index

(0 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Hybrid Solutions