Posted by Mohammad Rahhal, Last modified by Salameh Abu Hashish on 20 February 2019 10:45 AM


Public Function CreateVTLControl(formID As String, controlName As String, guiType As ENUM_GUI_TYPE ) As Boolean

This function is used to create a GUI control with a specific name according to given GUIType.


Key Description 
formId Form identifier, must be a number , value of type String.
controlName Control identifier , must be a unique for each control , value of type String.
guiType The control type to be created , can be one of the  ENUM_GUI_TYPE.

Return value

Returns true if the control has been created. Otherwise, returns false. In order to get an error, call GetLastError() function.



Public Sub main()

 dim frmID

 frmID = "3500"

 CreateVTLForm CSTR(frmID) , false

 CreateVTLControl CSTR(frmID) , "lblA" , GUI_LABEL

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