![]() |
CommandBarsFrame Execute, which control |
Post Reply ![]() |
Author | |
c_verbiest ![]() Newbie ![]() Joined: 17 July 2007 Location: Belgium Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 17 July 2007 at 9:56am |
Hi,
Is have a commandbarsframe with keybindings. If I press a key, the execute event gets a different control than when I press the button on the commandbar. How can I detect Execute was fired because of a keybinding. How can I get to the commandbarbutton control with the control that I get when the shortcut key was pressed. Thanks in advance Carl |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi
Shortcut is assigned to command id, not to specific button, so when user press key, new temporary button is created and execute is fired - you can check Parent property for such button it will be "Nothing"
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
c_verbiest ![]() Newbie ![]() Joined: 17 July 2007 Location: Belgium Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg,
thanks, I now use findcontrol with the id of the temporary button to get the original button. This works for me Regards Carl |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |