Syntax
Public Function GUIMouseDown(formId As String, controlID As String, x As Integer, y As Integer)
Description
This function used to generate handle the mouse down 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. |
X | x coordinates for the mouse position |
Y | y coordinates for the mouse position |
Sample
Public Sub main() CreateVTLForm "3100" , false CreateVTLControl "3100" , "btnA" , GUI_BUTTONEnd SubPublic Sub GUIMouseDown(formId, controlID,x,y) If controlID = "btnA" then AlertMessage(x & " " & y) End IfEnd Sub
See Also