|
-
Disable Click Event
Dan,
Thanks for your input on the Combo Box & Mouse question I had. With your
advice and the help of your API Book I got it figured out.
I have another question.
Is there any way to disable the Click event from firing on a combo box when
the ListIndex property is set?
Thank You,
Jody
-
Re: Disable Click Event
That's a good question. I don't think there is a way to do this, because I
believe the event is triggered internally when the ListIndex property is set -
and not through any message scheme.
What I'd probably do is set a form level variable every time I set ListIndex
via code. In the click event, if the variable is set I know I did the setting
in code. Then reset the variable in the click event.
Best of luck
Dan
Jody Kelsch wrote:
> Dan,
>
> Thanks for your input on the Combo Box & Mouse question I had. With your
> advice and the help of your API Book I got it figured out.
>
> I have another question.
>
> Is there any way to disable the Click event from firing on a combo box when
> the ListIndex property is set?
>
> Thank You,
> Jody
Similar Threads
-
By Hunterlmc in forum .NET
Replies: 3
Last Post: 04-07-2005, 10:53 PM
-
Replies: 146
Last Post: 08-12-2002, 10:40 PM
-
Replies: 2
Last Post: 04-24-2002, 11:21 AM
-
By Steve Hall in forum .NET
Replies: 0
Last Post: 04-03-2002, 04:44 AM
-
By Ray Wimsett in forum VB Classic
Replies: 0
Last Post: 07-20-2000, 04:50 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks