Syntax
Public FunctionGUIListItemClick(formId As String, controlID As String, itemKey As String) |
This function used to generate handle a list item click event.
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. |
itemKey | The key of the clicked item |
Sample
Public Sub main() dim frmID frmID = “4000” CreateVTLForm CSTR(frmID) , false CreateVTLControl CSTR(frmID) , “lsvA” , GUI_LIST_VIEW SetListViewAction CSTR(frmID) , CSTR(lsvA), LIST_VIEW_ACTION_ADD_LISTITEM, CSTR(“itemOne”) End Sub
AlertMessage(“item ” & itemKey & ” has been clicked”) End Sub
|
See Also