Knowledgebase:
CreateVTLControl
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 10 March 2016 03:41 PM

Syntax

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.

Parameters

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.

Sample

 

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))
Helpful
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 (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions