My stand along EXE file on VFP6.0 run on custumer computer (not from VFP6.EXE) and standard tool bar is displayed on screen. How to hide it programatically?
Please have me.
Thanks
The toolbars are really just windows. If you undock the "Standard" toolbar in VFP IDE you will see it as a window. So, to hide it is like the following which you can try out in VFP from the command window...
Code:
*!* Make it disappear
HIDE WINDOW "Standard"
*!* Make it re-appear
SHOW WINDOW "Standard"
*!* Let's try a different one and show how to check for it's existence and visibility
if WEXIST("Report Designer") and WVISIBLE("Report Designer")
HIDE WINDOW "Report Designer"
endif
if WEXIST("Report Designer") and !WVISIBLE("Report Designer")
SHOW WINDOW "Report Designer"
endif
...one other thing you may wish to consider is the _systoolbars class in the _app.vcx that you'll find in the FFC folder of VFP. This class was designed to help VFP Developers manage system toolbars.
craig1442@mchsi.com
"Whom computers would destroy, they must first drive mad." - Anon
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.