Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prevent a toolbar from being docked
Message
From
30/05/2005 09:32:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Prevent a toolbar from being docked
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018521
Message ID:
01018521
Views:
46
Any suggestions on how I can prevent a toolbar control from being docked?

VFP 9 help states:
Returning .F. (False) from code in the event or adding the NODEFAULT command does not prevent docking.
The only solution I can think of is tracking the position of a toolbar as its being moved, and prevent the toolbar from touching any edge of the screen. This seems like only a partial solution as I would like users to be able to move a toolbar off the screen - I just don't want them to dock it.

Ideas?

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform