Add a Label to a Form
Posted by Yousef Ibrahim, Last modified by Abdullah Almasharfah on 10 December 2018 08:03 PM

'''#####################################################################################
'''####     Script Name: Add a label to a form                                    ######
'''####     Author     : Salah Abu-Ghalyon                                        ######
'''####     Website    : www.Hybrid-solutions.com                                 ######
'''####     Date       : 20/06/2013 3:15:20                                       ######
'''####     Description:This code shows you how to add a label to a created form  ######
'''#####################################################################################

Public Sub main() 

Dim frm As new VTLGeneral.VTLForm("frm1")
Dim lbl As new VTLGeneral.VTLControls.CChartObjectLabel("lbl")

frm.AddVTLControl(lbl)

lbl.caption = "My Label" ' Adds text property to the label
lbl.Top  ="500"
lbl.left ="800"

frm.show()

End Sub



See Also


Back to VTL Server Script Index

(1 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