Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar moves forms.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00533106
Message ID:
00533135
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform