Hi Judith,
Here's a procedure I call on startup to ensure that none of the system windows/toolbars are visible. I got this years ago from Menachem Bazian.
PROCEDURE KillVFPWindows
RELEASE WINDOW "Standard"
RELEASE WINDOW "Report Controls"
RELEASE WINDOW "Color Palette"
RELEASE WINDOW "Database Designer"
RELEASE WINDOW "Form Controls"
RELEASE WINDOW "Layout"
RELEASE WINDOW "Print Preview"
RELEASE WINDOW "Query Designer"
RELEASE WINDOW "View Designer"
ENDPROC
>Hello all,
>
>I have an application (VFP 6.0) that may not have any toolbar.
>My runtime exe shows the toolbar of FoxPro. (e.g. "open", "new", "form", ...).
>
>How can I hide the toolbar in my application?
>I searched the help but just found the
HIDE WINDOW
command and its usage with toolbars was very unclear to me.
>
>Can anyone help?
>
>thanks in Advance
>Judith
------------------------------------------------
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