Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mouse Positioning on a Form
Message
De
28/11/2005 17:55:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01072637
Message ID:
01072639
Vues:
13
>How do I force a MOUSE position when I open a form (ie, place it on top of a COMMAND BUTTON)?
>
>Many thanks,
>
>Harry Riley

Place this is your Init event of the form. Change the CommandButton name (Command1) to your button name. This will center the mouse of the command button.
MOUSE AT thisform.command1.Top+(thisform.Command1.Height/2), ;
		 thisform.Command1.Left+(thisform.Command1.Width/2) PIXELS ;
		 WINDOW (thisform.Caption) 
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform