Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible to move the mouse cursor to text cursor positio
Message
From
31/10/2001 13:44:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
31/10/2001 13:38:49
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00575779
Message ID:
00575783
Views:
25
>Is there a way to move the mouse cursor to the position of a control's (textbox, editbox, combobox) text cursor so that both the text cursor and mouse cursor point to the same location on the screen?
>
>My motivation is that this technique would allow me to grab the location of a control's text cursor by retrieving the mouse's current coordinates.
>
>Thanks!
>Malcolm

Malcolm,
Activecontrol would return you where text cursor (object) is and selstart position within cursor. You could also get form coordinates using ObjToClient()
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform