Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wait Window to follow mouse movement
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Miscellaneous
Thread ID:
01372565
Message ID:
01372568
Views:
14
>I'm trying to display some information in a WAIT WINDOW while the user resizes a control with the mouse. I would like that WAIT WINDOW to closely follow the mouse but WAIT "some message" WINDOW AT MROW(), MCOL() NOWAIT does not do it.
>
>Since this is to ocurr in the control's MouseMove() method, I'd like to make use of the nXCoord and nYCoord parameters but I don't know how to convert those values to Row/Column values in the form's corrdinate system.
>
>Any suggestions ?
>
>
>Thanks,
>Carl
By default MROW() and MCOL() returns the result in Foxels in the other hand XCoord and YCoord are in Pixels, so you must convert Picel to foxel :-)
Check:
http://www.berezniker.com/content/pages/visual-foxpro/pixels-and-foxels
for Pix2fox function.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform