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
De
27/07/2003 03:55:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
How to find out if toolbar has been dragged out of form
Divers
Thread ID:
00813869
Message ID:
00813869
Vues:
33
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform