Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Twips to Pixels
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00451602
Message ID:
00451704
Views:
25
OK, all those suggestions should have worked, but they all returned me a bigger number than the what I should have been getting. The Control was returning me a yCoord of 300, the TwipsToPixels was returning 12 (1440/120 pixels per inch) so when I multiplied that I got a really big number, when it should have been returning to about 59. So I got to thinking....maybe the stuff on this control is wrong. So I tried something I was sure wouldn't work. I took the yCoord and subtracted the Top of the control. In this case, yCoord was 300 - this.top (243) = 57. Then I tried dropping on the next row, it got the right coordinates. Hard problem just got easy. Thanks for everyone help. I think it was all the right advice if the control was really telling me the right thing.

Kirk
Previous
Reply
Map
View

Click here to load this message in the networking platform