Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar postion not saving.....
Message
 
 
To
11/09/2000 08:23:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00414816
Message ID:
00414825
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform