Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Position of Control in focus
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00545297
Message ID:
00545301
Views:
12
I would put in the gotfocus of every control a re-definition of a public var i.e. pc_loc = str(this.top) +','+ str(this.right) [or something like that]
and then reference the public var


>Is this a way to get the position (X,Y corrdinates; Row/Col) of a control in focus? Is there a method or function I can call. I looked through help (again) but everything I've read (WROW, WCOL, CURRENTX, and variations) so far apply to the mouse to to drawing. What the user wants to do is to have the MousePointer in the current control on the form.
>
>
>Thanks.
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform