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
 
 
To
27/07/2003 03:55:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00813869
Message ID:
00813961
Views:
8
This message has been marked as the solution to the initial question of the thread.
Hi Holger,

Just an idea. You can add a timer to your toolbar and enable it in undock event. When timer fires, the .left and .top values should be correct.

>
>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.

<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform