Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Always Dock a toolbar....
Message
De
27/03/2002 02:27:18
Walter Meester
HoogkarspelPays-Bas
 
 
À
25/03/2002 21:40:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00637081
Message ID:
00637675
Vues:
19
Ric,

A NODEFAULT in the mousedown and dblclick event makes it impossible to undock the toolbar interactively.

If only want to disable the undock when a dblclick on a disabled toolbutton you can use the following code in the DBLClick event of the toolbar.
nx=SYS(1270)
IF TYPE('nx')="O" AND nx.baseclass # "Toolbar"
	NODEFAULT
ENDIF
Walter,




>Hiya!! I would really like to always keep my main toolbar docked. In the event it goes undocked, I want it to redock immediately. I know that you can dblclick on a disabled toolbar button and that will undock the tool bar, or drag and drop the toolbar. How can I disable this??
>TIA
>
>Ric
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform