Disable Click Event
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?
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
Jody Kelsch wrote:
> 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,
By Hunterlmc in forum .NET
Last Post: 04-07-2005, 11:53 PM
Last Post: 08-12-2002, 11:40 PM
Last Post: 04-24-2002, 12:21 PM
By Steve Hall in forum .NET
Last Post: 04-03-2002, 05:44 AM
By Ray Wimsett in forum VB Classic
Last Post: 07-20-2000, 05:50 PM
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