Khawar091697
asked on
How to trriger an event when data in DBCombo is changed?
I want to enable or disable a ListBox on the basis of a certain value of a DBCombo control. I have used mouseup and click and it works when these events are triggered but if I change it with keyboard it does not work. I have used change event but it does not work. I will be thankful for a suggestion.
khawarjawad@hotmail.com
khawarjawad@hotmail.com
ASKER
Edited text of question
ASKER
This is not my requirement. I want to know that which 'single event' is triggered when we change item either by mouse or by keyboard.
Try the SelChange event then
ASKER
But DBCombo don't have such event as SelChange? Kindly tell me some other way?
Thank You!
Thank You!
Perhaps you should check into subclassing the Combo box, capture the drop down, change, or roll up event if needed.
ASKER
Thank you Mr. sgroner for having a comment on my question.
Can you please explain, what does the term "subclassing the ComboBox" refer to? I cannot undrstand that.
Can you please explain, what does the term "subclassing the ComboBox" refer to? I cannot undrstand that.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I was mistaken. The correct web page for this is http://support.microsoft.com/support/kb/articles/Q171/8/04.asp
Sorry about that.
Sorry about that.
Hope it helps