Luc,
The .frx stores position and size information in 10,000ths of an inch. You can use any sort of scaling function to convert between pixels and frx units
hpos = GraphicTransform( this.Left )
vpos = GraphicTransform( this.Top )
width = GraphicTransform( this.Width )
height = GraphicTransform( this.Height )
function GraphicTransform( pnValue )
return pnValue * 100 && provide simple 100 pixels = 1 inch scaling
The function could also provide coordinate origin translation in addition to scaling.
>Does anybody know how to transform Point (pixel) in cm to calculate the posistion in the FRX file. It seen to be in cm * 1000.
>
>Example: I want to put a new variable in the FRX file from a table. The coord. on the objet was based from the screen coord.