Description
An object that holds button data,so you can get or set Button data usingits Properties.
Properties
Constant | Description |
Text | Get or set Button Text |
Caption | Get or set ButtonCaption |
Height | Get or set ButtonHeight |
Left | Get or set ButtonLeft |
Name | Read Button Name |
Top | Get or set ButtonTop |
Width | Get or set ButtonWidth |
BackColor | Get or set ButtonBackColor |
FontBold | Get or set ButtonFontBold |
FontItalic | Get or set ButtonFontItalic |
FontSize | Get or set ButtonFontSize |
FontStrikethru | Get or set ButtonFontStrikethru |
FontUnderline | Get or set ButtonFontUnderline |
Sample
Public Sub main() Dim frm As new VTLGeneral.VTLForm("frm1") Dim btn As VTLGeneral.VTLControls.CChartObjectButton btn = New VTLGeneral.VTLControls.CChartObjectButton("btn1") frm.AddVTLControl(btn) btn.Width = "700" btn.Height = "300" btn.Top = "500" btn.left = "500" btn.caption = "Button1" frm.show() End Sub
See Also