![]() |
Ribbon control enabled !! |
Post Reply ![]() |
Author | |
sgrappatore ![]() Groupie ![]() ![]() Joined: 21 February 2011 Location: Rome Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() Posted: 07 July 2011 at 12:31pm |
Hello everyone
I have a little problem ... In the main form "form_a" there is a ribbon control and other controls like grids, pageframe, and commanbutton. When I click the CommandButton (outside the ribboncontrol) initiating a form "form_b" modal and until this point everything is ok. The problem is that, despite the "form_b" is modal, I can click on the ribboncontrol ("form_a") and do not want that. I tried to disable the ribbon control of "form_a" with: oform_a.ribboncontrol.enabled = false before launching the "form_b" but I do not get the desired result (of the ribbon control "form_a" is enabled) I also tried to disable all controls on the ribbon with a control loop .. nexot but given that there may be some control already disabled before the launch of "form_b" when the "form_b" is closed and I have to re-enable the controls on the ribbon control I can only re-enable them all and lose the initial state of controls. But if I try to launch the "form_b" directly from a CommandButton control on the ribbon I get the desired result. I hope I was clear (I'm Italian) Any idea is welcome! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Its in VB6 ? Can you reproduce it with our sample ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
sgrappatore ![]() Groupie ![]() ![]() Joined: 21 February 2011 Location: Rome Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
My application is written in Visual Foxpro 9.0 sp2 I'll try to post a small example. Thanks for your interest. |
|
Visual foxpro 9.0
Codejock 15.0.1 |
|
![]() |
|
Hemesh ![]() Senior Member ![]() Joined: 10 August 2010 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
How about disabling form_a when you launch form_b? (and then re-enable when you close form_b obviously as it's modal)
|
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
![]() |
|
sgrappatore ![]() Groupie ![]() ![]() Joined: 21 February 2011 Location: Rome Status: Offline Points: 11 |
![]() ![]() ![]() ![]() ![]() |
The problem is that the form_b is modal, but once launched, can also click on the ribboncontrol form_a and perform the operations provided.
I think it's an incompatibility issue with Visual Foxpro. |
|
Visual foxpro 9.0
Codejock 15.0.1 |
|
![]() |
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 |