Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 14 September 2020 12:09 PM


An object that holds TextBox data, so you can get or set TextBox data using its Properties.


Constant  Description 
Text Get or set TextBox Text
Caption Get or set TextBox Caption
Height Get or set TextBox Height
Left Get or set TextBox Left
Name Read TextBox Name
Top Get or set TextBox Top
Width Get or set TextBox Width
BackColor Get or set TextBox BackColor
FontBold Get or set TextBox FontBold
FontItalic Get or set TextBox FontItalic
FontSize Get or set TextBox FontSize
FontStrikethru Get or set TextBox FontStrikethru
FontUnderline Get or set TextBox FontUnderline


Public Sub main()

  Dim frm As new VTLGeneral.VTLForm("frm1")

  Dim txt As new VTLGeneral.VTLControls.CChartObjectText("TxtID")


  txt.Width = "1500"

 End Sub

See Also

Back to VTL Server Script Index

(0 vote(s))
Not helpful

Comments (3)
Naeem Hasan
27 June 2013 08:42 AM
Dear Team
I am trying to use this code in server type code but getting an error message while run it. Error message is 'Type VTLGeneral.VTLControls.CChartObjectTextBox is not defined'
Please help me in creating text box to get user input in form.
Also is there any way to get input from user at run time in VTL local EA/Indicator?
Hassan Abu Krayem
02 July 2013 11:27 AM
The sample is working now
Hassan Abu Krayem
02 July 2013 11:39 AM
In Vtl Client you can use InputBox .
Dim Lots
Lots=InputBox ("Please input the value of lots","Title")
In Vtl Server you can use your own GUI to set any value for any variable.
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