Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pixel Calculations
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Pixel Calculations
Miscellaneous
Thread ID:
00159459
Message ID:
00159459
Views:
56
Does anyone know how the pixels are calculated in the report designer?

If I create a new report with the scale unit set to pixels, drop a field onto my report, then save the report and open up the .frx file the VPOS is something like 33437.500 and the HPOS is 15104.167

If I create a form and do the same thing, the TOP property is like 25 and the LEFT property is 30.

What I am trying to accomplish is to take a simple report form (no data groupings, headers, footers, etc.) and scan through the .frx file getting the field positions and then creating a form object and adding textbox objects in the same position on the form as they are on the report.

There seems to be some pixel calculation factor taking place that I just can't seem to figure out.

Any help would be appreciated!
Henry Petry
AeroHunter.com
Next
Reply
Map
View

Click here to load this message in the networking platform