John,
If you refereing to the "Status" bar across the bottom, you can turn it off with:
SET STATUS BAR OFF
If you are refering to the toolbar across the top, you can turn it/them off with their corresponding name. (You can get the "Toolbar" names by clicking "View" in the top-line menu, and the "Toolbars". All the "Built-in" tool bar names are listed here. If there is an X in the box, then they are "Enabled". One thing you could do, is to create a routine at the start of your application to ensure that all "Open" toolbars are closed. (If you want to get real fancy, capther the ones that are open, and re-open them when you exit the application.) The tool bars are all referenced as a "WINDOW" since, that's what they are. You can detect their presence with with WEXIST(). For example, the most common toolbar used in creating VFP applications is the "Standard" tool bar. So, from you COMMAND window, enter this:
MESSAGEBOX(WEXIST("STANDARD"

)
A message box will return with a .T. value if the "Standard" tool bar is present, or a .F. if it is not. So, that means, in your startup, you can control all the tool bars with something like this:
DEACTIVATE WINDOW "STANDARD"
DEACTIVATE WINDOW "FORM CONTROLS"
etc. This will "Shut down" all "Toolbars" you might be using, regardless of where they are. If you want to capture their state first, you could do this:
llStandard = WEXIST("STANDARD"

llFormControls = WEXIST("FORM CONTROLS"
If you issue a "DEACTIVE WINDOW" command on a windows that doesn't exist, no error is generated. (This is handy too.)
Then, when you "End" your program, you can put in code like:
IF llStandard
ACTIVATE WINDOW "STANDARD"
ENDIF
etc.
Lastly, make sure you bracket that code in some type of "RUN-TIME" vs. "PRODUCTION" code, as you probably don't want to go activiting toolbars on a "Shutdown" when you've got this code in production. It just makes it easier for you to return to your development environment as you left it, while testing & running the program.
Best Regards,
Scott
Please let me know if this has helped
![[hammer] [hammer] [hammer]](/data/assets/smilies/hammer.gif)