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, 10:53 PM
Last Post: 08-12-2002, 10:40 PM
Last Post: 04-24-2002, 11:21 AM
By Steve Hall in forum .NET
Last Post: 04-03-2002, 04:44 AM
By Ray Wimsett in forum VB Classic
Last Post: 07-20-2000, 04:50 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center