Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 20 February 2019 10:29 AM


Public Function GUIKeyDown(formId As String, controlID As String, keyCode As Integer)

This function used to generate handle the key down event on a control.


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.
keyCode The pressed key name



Public Sub main()

 CreateVTLForm "3100" , false

 CreateVTLControl "3100" , "btnA" , GUI_BUTTON

End Sub

Public Sub GUIKeyDown(formId, controlID,keyCode)

 If controlID = "btnA" then 

   SetGUIObject CSTR(formId) , "" ,  GUI_PROPERTY_CAPTION , CSTR(KeyCode)

 End If

End Sub



See Also

Back to VTL Client Script Index

(1 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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