Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

GUI

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/GUI/SetGUIObject

SetGUIObject

5 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

Public Function SetGUIObject(formID As String, controlName As String, prop_Id As ENUM_GUI_PROPERTY, prop_Value As Variant) As Boolean

Description

This function is used to set a property to a specific GUI control according to given prop_Id value.

Parameters

Key Description
formId Form identifier, must be a number , value of type String.
contorlName Control identifier to set the property for it ; if it was an empty string, the property is for the form, value of type String.
Prop_Id The property that want to change it for the given GUI control, can be one of the ENUM_GUI_PROPERTY.
Prop_Value The value of the specified property , value of type Variant.

Return value

Returns true if the GUI control has been sat to the specified property. 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  SetGUIObject CSTR(frmID) , "lblA" , GUI_PROPERTY_CAPTION , "Label One"End Sub


See Also

  • SetListViewSettings
  • SetListViewAction
  • GetListViewData


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  CreateVTLForm

SetListViewSettings  

About
VertexFX Trader has a closed-loop trading structure with Backoffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2023 hybridsolutions.com. All Rights Reserved.