Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Positioning on a Form
Message
From
28/11/2005 17:55:54
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01072637
Message ID:
01072639
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform