Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How Do You Hide the Default Toolbar in VFP3?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00148382
Message ID:
00148636
Views:
20
Michael --

Try _SCREEN=OFF in your CONFIG.FPW, then in your startup program, do what you like with the screen properties and toolbars then set _SCREEN.Visible=.T.


>>>Can that command, RELEASE WINDOW "standard" be placed in the CONFIG.FPW file somehow? And, how about the equivalent of commands such as _SCREEN.AutoCenter=.T., and _SCREEN.Height/Width? This would help the window pop up much more clean-like. Remember, this is VFP3.
>
>>You can SET any environment variable inside the configuration file.
>>Using "command" or _STARTUP you can execute a program or application from within the configuration file ; at the beginning of the program or application simply RELEASE the toolbars you want and the startup of your application will have a clean appearance.
>>
>>Dave.
>
>Thanks for writing, Dave. I don't completely understand your example. Is one program being piggy-backed off another, in that I would be launching one VFP3 application from within the configuration file of another?
>
>This application needs to stay in 3.0 until the client goes 32 bit, so I am doing what I can to give it a clean look when it launches. I have the _SCREEN height and width set to match the main form, as an attempt to make the form appear top-level. I also have the toolbar turned off, since it is not used. That all works fine.
>
>The trouble is that I want to prevent the jerkiness during startup. The screen initially loads full-size, with the toolbar, and then shrinks with the toolbar released before displaying the form. Ideally, I would want everything to be initialized before displaying the screen. So, I am wondering if these attributes can be set in the configuration file.
>
>If I am misunderstanding your method, then my apologies. Could you give me an example of what you mean?
>
>Thanks!
>
>Michael Reynolds
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform