Ribbon control enabled !!

Support forum for ARG-Software Design Lab. Command Bars Library [http://www.arg.kirov.ru/]
Post Reply
Posts: 1
Joined: Thu Jul 07, 2011 12:46 pm

Ribbon control enabled !!

Post by sgrappatore »

Hi guys,
I'm using ribbon control in my application but I've a problem.
I have a form (FORM_A) with ribbon control and other controls like grid, check, pageframes and commandbuttons.
If I click on a commandbutton (FORM_A.commandbutton) and launch another form (FORM_B.windowtype=1 "MODAL") , I can click on FORM"A".ribbon and make a disaster!
How to prevent this problem?
I try to set form_a.ribbon.enabled=.f. when launching FORM_B but not works.
Help me please!

Salvatore :|
ARG-Software Design Lab.
Posts: 36
Joined: Sat Nov 14, 2009 5:14 pm

Re: Ribbon control enabled !!

Post by AlexG »

Code: Select all

form_a.CBM.Enabled = .F.
Do Form form_b            && run modal form. Make sure it is Desktop form!
form_a.CBM.Enabled = .T.
With best regards,

Alex Grigorjev
(ARG-Software Design Lab.)
Post Reply