Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbon control enabled !!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon control enabled !!

 Post Reply Post Reply
Author
Message
sgrappatore View Drop Down
Groupie
Groupie
Avatar

Joined: 21 February 2011
Location: Rome
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote sgrappatore Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon control enabled !!
    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!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2011 at 6:32am
Hi,

Its in VB6 ? Can you reproduce it with our sample ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
sgrappatore View Drop Down
Groupie
Groupie
Avatar

Joined: 21 February 2011
Location: Rome
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote sgrappatore Quote  Post ReplyReply Direct Link To This Post Posted: 11 July 2011 at 6:38am
Originally posted by Oleg Oleg wrote:

Hi,
Its in VB6 ? Can you reproduce it with our sample ?
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
Back to Top
Hemesh View Drop Down
Senior Member
Senior Member


Joined: 10 August 2010
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hemesh Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2011 at 4:34am
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
Back to Top
sgrappatore View Drop Down
Groupie
Groupie
Avatar

Joined: 21 February 2011
Location: Rome
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote sgrappatore Quote  Post ReplyReply Direct Link To This Post Posted: 20 July 2011 at 4:48am
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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.