Hi ,
I have a window with Save Button & the access key for Save Button is Alt + S . Also I have a user control(say Combo box) on the Window.
When I press Alt+S, none of the Combo box events are firing. I need to execute some code in the control before it actually fires the method related to Save(i.e Alt + S) .
When ever i press Alt +S , control is going to the Save method, even lost keyboard focus of the control is not firing .
Which event will fire in the control before Alt + S?
is this for Windows Forms?
Yes .. for Windows forms
Is the Save button a tool within an UltraToolbarsManager or a tool of some other toolbar? If so, then it wouldn't take focus so it may be expected that the events for the combo box don't fire. If this is the case, you can add logic to your save method to handle the logic that you need to before saving.
If you have a sample that demonstrates the behavior that you see, I would be able to provide more details on how you could handle this.
Let me know if you have any questions with this matter.