Print Page | Close Window

CommandBar Execute Event does not fire

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3624
Printed Date: 21 June 2025 at 6:47pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBar Execute Event does not fire
Posted By: Shawshank
Subject: CommandBar Execute Event does not fire
Date Posted: 08 February 2006 at 10:58am

I'm using v9.81 of the suite in VB6. I've come across a situation where the Execute event does not fire when selecting a Popup CommandBarControl. I have created a popup CommandBar with several CommandBarControl choices. After calling .ShowPopup the CommandBarControls appear. I select an option and no CommandBar Execute event fires. I have another CommandBar control which is not a Popup and it works fine.

Under what circumstances does the Execute event NOT fire?

I have created a very small program that illustrates this issue reliably.




Replies:
Posted By: Shawshank
Date Posted: 08 February 2006 at 11:08am
Nevermind....I discovered I was assigning a .Id value of 0 which caused the event, apparently, not to fire. Once I assigned a non-zero value the event would fire.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net