Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 07 September 2020 10:12 AM


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

This function used to generate handle a list item click 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 clicked item



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

Public Sub GUIListItemClick(formId, controlID,itemKey)

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

End Sub



See Also

Back to VTL Client Script Index

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