Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing Toolbar Docking
Message
 
À
17/06/1999 11:14:10
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00230860
Message ID:
00230944
Vues:
23
>>>How do I prevent a Toolbar from being docked on the right or left but allow top or bottom?
>>>
>>>Thanks,
>>Hi Elyse,
>>
>>In the Toobar's AfterDock event, place the following:
>>IF INLIST(This.DockPosition, 1, 2)
>>  This.Dock(0)
>>ENDIF
>>This cause the toolbar to undock immediately when the user tries to dock it on the left or right of the screen.
>>
>>hth,
>
>This is just what I did. The thing I didn't like is that I see the toolbar docking on the side briefly and to the user it looks to be flashing/jumping a lot. But it seems this is the best way to go.
>
>Thanks!
Hi Elyse,

As I mentioned to Sylvain, I didn't note this behavior in design mode. However, some performance degradation is to be expected in production. Are you running 6.0 with SP3? From some of the posts I've read, there has been some substantial improvement with form handling and this possibly could apply to toolbars as well.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform