Syntax
Public Function CreateVTLControl(formID As String, controlName As String, guiType As ENUM_GUI_TYPE ) As Boolean
Description
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 aunique 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_LABELEnd Sub
See Also