* to release built-in toolbars, for example the Standard toolbar
RELEASE WINDOW "Standard"
* or for example the Form Designer toolbar
RELEASE WINDOW "Form Designer"
* you must pass the toolbar caption to the RELEASE WINDOW command
* this technique works for user defined toolbars too.
* another way to release user defined toolbars is:
FOR EACH loToolbar IN _vfp.forms
IF loToolbar.class = "Toolbar" OR loForm.baseclass = "Toolbar"