Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Funky toolbars in design mode
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00309486
Message ID:
00309826
Views:
30
Hi Ken,

Didn't quite understand your situation from your first explanation, but now I think I do.

I have a similar situation with the framework that I use. That framework automatically "hides" the VFP Standard toolbar that's active when the app fires. If the app *blows up*, that toolbar never gets un-hidden...then when VFP exits, it -saves the state- to the Resource file, and the next time VFP starts, the toolbar doesn't show up. Used to drive me insane until I realized what was happening.

IMHO, there are three options -- turn off the resource file, edit the resource file and kill all of the references to the toolbar, or write a method to turn it back on.

The way I fix it -- I have a VFP "getout" method that I (try to remember to) run when an app blows up. It basically does a SHOW WINDOW "Standard" (you could use it for "Form Controls" or whatever) to bring back the desired toolbars, and then QUITs VFP. Doesn't *always* work, but it's better than it was before.

As a quick out, you can start VFP, turn the toolbars you want on in View, and exit VFP right away. Then they'll come back up again.


>Erik,
>
>Intersting how different people work! I don't know that I've ever used the Standard toolbar - but I don't know how anyone can live without the layout tollbar!
>
>Anyway - with my problem even restarting my machine didn't fix it - so - I opened ALL the toolbars and started pushing buttons to see what was affected, and voila - all of a sudden the layout and form desighenr toolbars started working again! Strange huh? This has to be a bug .
>
>thanks - Ken
>
>
>
>>>HI,
>>>
>>>VFP6 SP3 ...
>>>
>>>I, from time to time, have had a problem with my Layout toolbar going "disabled" for no apparent reason (although I'm sure its related to something). Usually just closing and reopening it fixes it.
>>>
>>>Now however, I have a differnt problem with both the layout and form designer toolbar. When I click a butoon, it "stays pushed in" as if it were some kind of radio button. I can actually push them all "in" and they stay that way unitl I close and open the toolbar - then I can do it again. Although they are "pushed in", they still seem to work - so it is not an emergency - but has anyone else seen this or know what to do?
>>
>>I ahve no idea what causes it, but I get it from time to time too. I think it has something to do with some of my code that runs at design time, because it only happens in certain projects, but not consistently. I have just been dealing with it by closing and reopening the toolbar. (The only toolbar I have noticed it on is the Standard toolbar- I rarely use the layout toolbar).
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Previous
Reply
Map
View

Click here to load this message in the networking platform