Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Always Dock a toolbar....
Message
From
27/03/2002 02:27:18
Walter Meester
HoogkarspelNetherlands
 
 
To
25/03/2002 21:40:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00637081
Message ID:
00637675
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform