CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: combo onchanged

  1. #1
    Join Date
    Jul 2001
    Location
    maharashtra,india
    Posts
    181

    combo onchanged

    hello
    i have created a user control, with combo box in it
    now i want to access OnChanged property of combobox in my form where i have added this user control

  2. #2
    Join Date
    Nov 2003
    Location
    Seattle, WA
    Posts
    265
    Ok let me try and understand what you want..

    You placed the ComboBox on your usercontrol and you want
    Its Changed Event To Be Accessible From The Form You Placed
    The User Control On Am I Right?

    If so just declare an event and raise on the combobox's change
    event

    Code:
    EVENT OnChange()
    
    Private Sub Combo1_Change()
        RaiseEvent OnChange
    End Sub

  3. #3
    Join Date
    Jul 2001
    Location
    maharashtra,india
    Posts
    181
    thanx Jinto
    thats what i was looking for
    it helped me a lot
    thanx once again

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured