Deactivating the Toolbar
How can i deactivate visual foxpro toolbars from within the programme. is
there any command to close toolbar and taskbar of windows.
Please help.
[153 byte] By [
sagar] at [2007-11-10 12:50:05]

# 1 Re: Deactivating the Toolbar
Sagar,
One method is:
local l_n
dimension r_asystemtoolbars[11, 2]
r_asystemtoolbars[1, 1] =3D "Print Preview"
r_asystemtoolbars[2, 1] =3D "Report Designer"
r_asystemtoolbars[3, 1] =3D "Form Controls"
r_asystemtoolbars[4, 1] =3D "Standard"
r_asystemtoolbars[5, 1] =3D "Form Designer"
r_asystemtoolbars[6, 1] =3D "Layout"
r_asystemtoolbars[7, 1] =3D "Database Designer"
r_asystemtoolbars[8, 1] =3D "View Designer"
r_asystemtoolbars[9, 1] =3D "Report Controls"
r_asystemtoolbars[10, 1] =3D "Color Palette"
r_asystemtoolbars[11, 1] =3D "Query Designer"
for l_n =3D 1 to 11
if wvisible(r_asystemtoolbars[l_n, 1])
*r_asystemtoolbars[l_n, 2] =3D .T. && use only if you want to =
restore later
hide window (r_asystemtoolbars[l_n, 1])
endif =20
endfor=20
Rick
"sagar" <sagars_r@rediffmail.com> wrote in message =
news:3f0d8655$1@tnews.web.dev-archive.com...
>=20
> How can i deactivate visual foxpro toolbars from within the programme. =
is
> there any command to close toolbar and taskbar of windows.
> Please help.