Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving toolbar position, dock status
Message
De
05/11/1998 00:01:10
 
 
À
04/11/1998 20:28:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00154521
Message ID:
00154672
Vues:
13
>>I am building the ability in my toolbar class for the toolbars to record and remember their position and docked status to and from the registry, in effect remembering the user's settings. I am running into some trouble because I can't find a good time to record the docked status. It appears that in a toolbar's destroy method, oToolbar.docked is always .F.. So I tried it in the After dock and undock methods. The After dock works but the Undock method shows oToolbar.docked still = .T. Aaargh.
>>
>>Has anyone else done this, and do you have any advice for me?
>
>This code from Codebook...
>

Thanks for your reply. My problem isn't _how_ to do the saving, it's when to do the saving to get an accurate picture of the toolbar's real status. I have successfully worked around the Undock method's quirkiness, but I had to break the dockstatus code out separate from the rest of the registry settings to do it...
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform