Syntax
Public Sub Clear()
Description
This method is used to clear all data in combox control.
Sample
Dim frm as VTLGeneral.VTLForm
Dim combox as VTLGeneral.VTLControls.CChartObjectCombo
Public Sub main()
frm = New VTLGeneral.VTLForm("frm1")
Dim btn as VTLGeneral.VTLControls.CChartObjectButton
btn = New VTLGeneral.VTLControls.CChartObjectButton("btn1")
combox = New VTLGeneral.VTLControls.CChartObjectCombo("com1")
frm.AddVTLControl(btn)
frm.AddVTLControl(combox)
combox.AddItem("text1")
combox.AddItem("text1")
btn.caption = "Clear"
frm.show()
End Sub
Public Sub frm1_btn1_click()
combox.Clear()
End Sub
See Also
Back to VTL Server Script Index
|