Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 15 June 2016 12:00 PM


Public Function GUIListItemCheck(formId As String, controlID As String, itemKey As String)

This function used to generate handle a list item check event.


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



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 Sub

Public Sub GUIListItemCheck(formId, controlID,itemKey)

 AlertMessage ("item " & itemKey & " has been checked")

End Sub



See Also

Back to VTL Client Script Index

(0 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