Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar postion not saving.....
Message
 
 
À
11/09/2000 08:23:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00414816
Message ID:
00414825
Vues:
23
Customer toolbars have properties and methods. To Dock a toolbar --
oToolbar.Dock(nExpr) where nExpr can be 0 - Top, 1 - left, 2 - right, 3 - bottom. It has top and left properties. So you would need to store the the top, left, docked and dockposition properties in order to restore the toolbar to its previous position when the user activates it again.

AFAIK, the only toolbars that work with respect to restoring position are the ones that come with VFP.

>My resource file is indeed set...
>But each time a start the app I do something like...
>PUBLIC otoolbar
>otoolbar=CREATEOBJECT("PDMTOOLBAR")
>otoolbar.show()
>otoolbar.visible=.T.
>
>Everytime it starts in the same position and never docked...
>
>Is there something special I need to do to get the position and docking to save...
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform