Syntax
Public Function GUIKeyUp(formId As String, controlID As String, keyCode As Integer)
Description
This function usded to generate 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. |
keyCode | The pressed key name |
Sample
Public Sub main() CreateVTLForm "3100" , false CreateVTLControl "3100" , "btnA" , GUI_BUTTONEnd SubPublic Sub GUIKeyUp(formId, controlID,keyCode) If controlID = "btnA" then SetGUIObject CSTR(formId) , "" , GUI_PROPERTY_CAPTION , CSTR(KeyCode) End IfEnd Sub
See Also