Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP active Toolbars
Message
From
22/09/1997 14:00:06
 
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00050952
Message ID:
00051073
Views:
37
>Hi Mark,
>
>I'm not as good with VFP as most (99.9%) of the members of the UT but I would use a different resource file for the Executable, thats how I got my EXE to run without the toolbars that I have in the Development Envir.
>
>Hope this helps,
>
>>Trying to create production version of a project and when run, whatever toolbars were active within VFP at the time of the Executable's creation, are present/visible within the run-time module.
>>
>>What a pain it is to have to close all the active toolbars in VFP before creating the EXE file. Is there a way to programmatically close all the system's toolbars so that only mine show up withOUT closing them through the menu prior to compilation? Relp!
>>
>>TIA!
>>
>>
>>
>>mark@remarkable-systems.com

Hi, Jon
I don't remember all the details, but the crux of the matter is that toolbars are windows which may be HIDE'n, SHOW'n, RELEASE'd, ACTIVATE'd and DEACTIVATE'd. As an example type "DEACTIVATE WINDOW 'Standard'" in the command window. The toolbar with the file open/close icons etc. will disappear. Each toolbar has a window name. The CodeBook3 framework runs a loop DEACTIVATE'ing all toolbars in a hard-coded array. It reactivates all toolbars that it deactivated on shutdown.

Hope this helps.
Ned
Ned

Reality is.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform