Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping a toolbar from Undocking
Message
De
06/06/2001 05:41:06
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
06/06/2001 05:16:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00515603
Message ID:
00515611
Vues:
19
>>>Can anyone suggest a way of stopping a toolbar from undocking?
>>>
>>>TIA
>>
>>on the undock event of the toolbar put this.Dock()
>
>That gives an Error...
>"Too few arguments"
>
>So it wants at least 1 parameter to say where to dock it.
>
>I've already tried a few things..
>This.Dock(0)
>This.Dock(0,100,0)
>
>Nodefault from Undock, BeforeDock, Afterdock
>Return .f. from Undock, BeforeDock, Afterdock
>
>None of them work
>
>The really annoying thing is that I have got this to work in the past and can't remember what I did :(

sorry will put this.dock(-1) in the dblclick event of the toolbar.
this way wen the user double click on the toolbar for undock the toolbar then is dock again to the same position.
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform