Top Level form kills Registerd Flag upon exit

Support forum for ARG-Software Design Lab. Command Bars Library [http://www.arg.kirov.ru/]
Post Reply
jrfrye1
Posts: 1
Joined: Fri Jun 08, 2012 9:40 pm

Top Level form kills Registerd Flag upon exit

Post by jrfrye1 »

I just love this library and am in the process of converting all my forms and menus to command bars and Ribbons. I did encounter one problem that I thought strange. I have an email form that launches perfectly as a toplevel form and behaves correctly when calling other email top lebvel forms and interacting. However when I close the form and them relaunch it. I get the dreaded dialog box that thois product is registered to me everytime I click on a form within the email main form.

I follwed all the instructions in the readme text file including registering by merge. also used the public and key in the main prg at the very beginning ofthe app. What am I missing Here? Please help.
AlexG
ARG-Software Design Lab.
Posts: 36
Joined: Sat Nov 14, 2009 5:14 pm

Re: Top Level form kills Registerd Flag upon exit

Post by AlexG »

Set the KeepAlive property of the CBM object to True before call InitCommandBars() method:

Code: Select all

...
ThisForm.CBM.KeepAlive = .T.
ThisForm.CBM.InitCommandBars()
...
With best regards,

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