Live Chat by Hybrid Solutions
Knowledgebase
GUIListItemCheck
Posted by Mohammad Rahhal on 22 May 2012 04:25 PM

Syntax

Public Function GUIListItemCheck(formId, controlID, itemKey)

The GUIListItemCheck is generated to 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 Sub


Public Sub GUIListItemCheck(formId, controlID,itemKey)

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

End Sub




See Also


Back to VTL Client Script Index

(0 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Hybrid Solutions