Knowledgebase:
GUIClick
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 18 January 2016 12:55 PM

Syntax

Public Function GUIClick(formId As String,controlID As String)

This function used to handle click event at the specific control by given control ID.

Parameters

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

Sample

 

Public Sub main()

 CreateVTLForm "3100" , false

 CreateVTLControl "3100" , "btnA" , GUI_BUTTON

End Sub


Public Sub GUIClick(formId As String,controlID As String)

 If controlID = "btnA" then 

   AlertMessage("Click")

 End If

End Sub

 

 


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
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 (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions