![]() |
I'm sure I'm missing something very basic... |
Post Reply
|
| Author | |
mraiford
Newbie
Joined: 20 June 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: I'm sure I'm missing something very basic...Posted: 20 June 2006 at 10:21am |
|
I have set up a menu using the command bars controls, but when I click on the items, the Execute event never fires. I've looked at the samples and searched the forums, but have found nothing.
From what I can tell, I'm doing exactly what the samples were doing.. I'm lost... |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 10:46am |
|
What development environment you use? I assume .NET and you are missing an event handler?
|
|
![]() |
|
mraiford
Newbie
Joined: 20 June 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 11:58am |
|
VS.NET 2003, Yep-- I have an event handler, added through the form designer. It shows there, and in the generated code (InitializeComponent) The event handler is set.
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 12:20pm |
|
I have attached a small sample for you to try. Nothing special.
uploads/20060620_122001_WindowsApplicat.zip |
|
![]() |
|
mraiford
Newbie
Joined: 20 June 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 12:53pm |
|
Sample works just fine. No differences except:
I didn't put a description on the menu items, and have set EnableDocking to false on the menu bar I'm also using the Docking control, if that makes any difference. (edit) After removing the docking pane, it works. Is it possible to use the docking pane control with the command bars? |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 1:50pm |
|
Yes, they can work together. I can't seem to reproduce your problem, even after setting it up like you suggested.
uploads/20060620_134921_WindowsApplicat.zip |
|
![]() |
|
mraiford
Newbie
Joined: 20 June 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2006 at 3:17pm |
And that is why it didn't work for me. :) Thanks for the help! |
|
![]() |
|
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 |