Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out if toolbar has been dragged out of form
Message
 
 
À
27/07/2003 03:55:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00813869
Message ID:
00813961
Vues:
9
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform