Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preventing Toolbar Docking
Message
 
To
17/06/1999 09:49:51
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00230860
Message ID:
00230890
Views:
15
>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,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform