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

GUI

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

GetGUIObject

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

Syntax

 Public Function GetGUIObject(formID As String, controlName As String, Prop_ID As ENUM_GUI_PROPERTY, ByRef prop_Value As Variant) As Boolean

Description

This function is used to get into prop_Value the form control value according to providing property ID.

Parameters

Key Description
formID Form identifier,must be a number, value of type String
controlName Form Control name to get property value for it, value of type String
prob_ID Property to get it value for form control, value of type ENUM_GUI_PROPERTY
prob_Value Result value for requested property, value of type variant

Return value

Return true if get the property value for GUI control, Otherwise returns false. In order to get an error, call GetLastError () function.

Sample

 Public Sub main()  Dim formId   formId = "2"  Dim prop_value  CreateVTLForm Cstr (formId), false,"Test"  CreateVTLControl Cstr (formId),"TextBox, GUI_TEXT_BOX  SetGUIObject Cstr (formId), "TextBox", GUI_PROPERTY_Text,"Welcome at VTL"  GetGUIObject Cstr (formId), "TextBox", GUI_PROPERTY_Text, prop_value  AlertMessage (prop_value) return Welcome at VTL End Sub


See Also

  • RemoveVTLForm
  • SetTreeNode
  • CreateVTLControl


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  ENUM_GUI_TYPE

RemoveVTLForm  

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.