Syntax
Public Function GUIListItemCheck(formId As String, controlID As String, itemKey As String)
Description
This function used to generate handle a list item check 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 checked item |
Sample
Public Sub main() dim frmID frmID = "4000" CreateVTLForm CSTR(frmID) , false CreateVTLControl CSTR(frmID) , "lsvA" , GUI_LIST_VIEW SetListViewSettings CSTR(frmID) , CSTR(lsvA), LIST_VIEW_CHECK_BOXES, true SetTreeData SetListViewAction CSTR(frmID), CSTR(lsvA),LIST_VIEW_ACTION_ADD_LISTITEM, CSTR("itemOne")End SubPublic Sub GUIListItemCheck(formId, controlID,itemKey) AlertMessage ("item " & itemKey & " has been checked")End Sub
See Also