Actions not working |
Post Reply |
Author | |
WayneB
Newbie Joined: 11 February 2007 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 11 February 2007 at 7:22pm |
I am using the following code to create one Action for each Control that I created in the designer. This code runs, however when I handle the Execute event (shown below) nothing happens.
Also, there is no option in the Designer to "Enable Actions", I have looked everywhere...
|
|
WayneB
Newbie Joined: 11 February 2007 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
The only time that Actions work for me is when I add the Actions BEFORE loading the designer xcb file.
This also works:
|
|
nvierros
Groupie Joined: 02 July 2006 Location: Australia Status: Offline Points: 44 |
Post Options
Thanks(0)
|
You could always just enable Actions within the commandbars design studio, that way you dont need to call .enableactions.
You just have to add the action to the collections..
In the design studio, click on an item then in the propertygrid select, EnableActions.
:)
|
|
WayneB
Newbie Joined: 11 February 2007 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Ahh, I see it now. I could not find the "Enable Actions" hyperlink before. Thank you.
May I ask why that is not a property of the CommandBars control? I expected it to be found under the Commandbars->Settings dialog since it affects the entire collection of controls. If anyone else has trouble finding it, here's a screenshot for you: |
|
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 |