Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar moves forms.
Message
 
To
20/07/2001 09:59:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00533106
Message ID:
00533135
Views:
12
>There is this behavior when a toolbar is started the active forms
>are rudely pushed down out of the way.
>
>This is fine but when the form is already out of the way and there is
>enough space it could be cool if it just left the form where it is.
>
>i checked the properties and see no apparent properties to handle this.
>
>So I ask. Can I disable the "feature" where the toolbar brushes the
>forms out of the way?

Hi Tim,

No, this is the behavour by design. The docked toolbars are not included into VFP window (screen) coordinates calculation, they are outside its borders. When you add a docked toolbar the 0,0 screen position visually shifts. You may use your toolbars undocked, if appropriate ( use otoolbar.Dock(-1) method), then they will be floating inside the VFP screen and will not move the forms. But if the user dock it with the mouse, the forms will visually shift.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform