Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP toolbar visible at run time
Message
From
29/11/2010 20:00:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01490991
Message ID:
01490993
Views:
58
>Hi,
>
>I have always had a code in the start up procedure of my application that was hiding all VFP toolbar buttons. I believe I borrowed it from the VFP 3 or VFP 5 sample code. Recently I decided that this code was useless and I removed/commented it.
>
>Now I just remotely connected to a customer server, run the application and see a bunch of VFP buttons (toolbar) at the top of the application (run-time).
>
>Then I remotely connected to another customer server, run the same application and do not see the VFP buttons (toolbar).
>
>My question is, what makes one run-time show the toolbar and another not to? And should I enable/uncomment the code that was hiding these buttons?
>
>TIA.

Normally the standard toolbar is not visible (in an exe) unless the IDE is running. Did you start the application from the IDE on one of the systems? Is it an exe or app you are running? Also, the visibility of it is stored in the foxuser.dbf file so you can turn it off on yours and then distribute the foxuser file(s) with your app. You may have it turned on in one of the foxuser files. Another option is too add this to your main prg:
IF WEXIST("STANDARD")
      RELEASE WINDOWS STANDARD  && or hide
ENDIF
Is there a toolbar class in your app by any chance?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform