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

Thread: Events

  1. #1
    Join Date
    Oct 2002
    Posts
    34

    Wink Events

    Hi there!

    Is there a way to disable the generation of events without disabling the combo box?

    Thank you
    Have a nice day! (^_^)

  2. #2
    Join Date
    Oct 2002
    Location
    Växjö, Sweden
    Posts
    225
    If you mean that you want to prevent an event from fireing sort of you might use a public variable that you set to true when you want to prevent an event for example. And then in the event you check that variable the first thing you do, something like....

    If var = true Then Exit sub

    Maybe this was not what you meant, then just don't listen to this...

    /Leyan

  3. #3
    Join Date
    Oct 2002
    Posts
    34

    Thank you

    Thank you for your help.

    I was aware of such method, but only wondered if other alternatives exists. I guess that as long as it gets the job done I shouldn't complain
    Have a nice day! (^_^)

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