|
-
Dec 21st, 2006, 08:40 PM
#1
Thread Starter
Frenzied Member
[2005] SelectChangedCommitted in combo box
Hello,
I want to detect when a user selects an item from a combo box, Normally I use the selectChangedCommitted event of the combo box. However, I am creating a PDA using WM 5.0, and that event is not available. They have only selectValueChanged and selectItemChanged.
However, I want the event to fire only when the user has selected from the combo box.
Is there a way to create an new event to do this, or is there another event I can use to do this.
Many thanks in advance,
Steve
-
Dec 21st, 2006, 08:56 PM
#2
Re: [2005] SelectChangedCommitted in combo box
Just use one of the existing events and perform a test within the handler to check whether the change was performed by the user or programmatically. You then set a Boolean variable each time you want to make a change and reset it after. That Boolean variable is what you test in the event handler.
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
|
Click Here to Expand Forum to Full Width
|