how to add combobox with selected index change event in browsable clas

show true or false option in property window based on that event fire

Page 1 of 1

0 Replies - 1104 Views - Last Post: 22 December 2010 - 11:34 PM Rate Topic: -----

#1 siva825  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 22-December 10

how to add combobox with selected index change event in browsable clas

Posted 22 December 2010 - 11:34 PM

hi i have user control in that i have browsable class to show combox property true or false at design time.based on this selection i have disable or enable my button control.how do i add combobox with true/false option and with selectedindexchange event to disable and enable button



Dim cmb As ComboBox
    <Browsable(True)> <System.ComponentModel.Category("Action")> Public Property SivaEvent2() As ComboBox
        Get
            cmb.Items.Add("true")
            cmb.Items.Add("false")
            Return cmb
        End Get
        Set(ByVal value As ComboBox)
            cmb = value

        End Set
    End Property

Attached File(s)


This post has been edited by AdamSpeight2008: 23 December 2010 - 03:49 AM


Is This A Good Question/Topic? 0
  • +

Page 1 of 1