Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find out if toolbar has been dragged out of form
Message
From
27/07/2003 03:55:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to find out if toolbar has been dragged out of form
Miscellaneous
Thread ID:
00813869
Message ID:
00813869
Views:
32
Hi,

how can I find out, if a toolbar has been dragged out of a top level form ?

I can check the toolbars .left/.top values in the moved event, to find out,
if it has gone beyond the forms borders.
But this does not work, when the toolbar was in a docked position. In this
case, the moved event does not fire.
I also tried to check the toolbars position in its undock event, but in that
case the .left/.top values are always 0 (zero), no matter if you drop it
inside or outside the form.

And another question in this connection:
When you drag out a VFP Toolbar out of the VFP main screen, the toolbar will
disappear.
The only way I found, to bring it back, is to hack or delete the
foxuser.dbf. Is there perhaps another way ?
Holger Vorberg
Germany
Next
Reply
Map
View

Click here to load this message in the networking platform