![]() |
Commandbars_Execute not being called |
Post Reply ![]() |
Author | |
AntonyJones ![]() Newbie ![]() Joined: 01 May 2009 Location: United Kingdom Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 01 May 2009 at 11:01am |
Hi all,
I recently added a new form with a ribbon to our application and when I added the form the ribbon worked great. However I tried to use it today and the execute event was not being called. The code has not been changed and I have recreated the execute method to make sure it is correct; however I have so far had no joy. The ribbon bar sample works fine and the standard style command bars work on other forms of the application. I am using VB6 with Xtreme SuitePro ActiveX 2009 (13.0.0). Any insight you could offer would be greatly appreciated. Antony |
|
![]() |
|
chrisABC ![]() Senior Member ![]() ![]() Joined: 05 June 2008 Status: Offline Points: 258 |
![]() ![]() ![]() ![]() ![]() |
From my experience, when I get situation like this I cannot see the answer because I looking in the wrong place.
I recently had a object that did not seem to behave correctly. I put lots of break points, debug.print , and MsgBox "I am here" lines in, and none of them got triggered when I ran the program. then found the program was creating a different copy of the object from what I thought. So in your case I would start with the debug.print ..... MsgBox ".... " etc and make sure you are looking in the correct place, and try and track down the problem. You may suspect a Control or VB to not be working correctly, but if that were the case it is likely this Forum would be full of other people discussing it. |
|
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|
![]() |
|
AntonyJones ![]() Newbie ![]() Joined: 01 May 2009 Location: United Kingdom Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Hi,
The problem turned out to be an issue with the SkinFramework.RemoveWindow method when the SkinFramework control is on a different form. In the end Oleg gave me this workaround: CommandBars.AttachToWindow 0 MainForm.SkinFramework.RemoveWindow Me.hWnd CommandBars.AttachToWindow Me.hWnd Thanks for all 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 |