Clear
Posted by Mohammad Rahhal, Last modified by Abdullah Almasharfah on 07 December 2018 07:26 PM

Syntax

Public Sub Clear()

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

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