different values

Hi,

I would like to ask if I'm doing something wrong or if it's a feature FastReport.
In FR designer I will set the value for the top of memo field 2.06 for example, but the script code for the same result I have to set 77.82.
Is this normal?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:27PM
    It is not clear what you are trying to do
    on the design page the top of the memo object is the amount down from the top of the band.
    it has no reference to the position on the output page, the report engine is controlling that depending upon what objects have been processed so far.
    if you want to control output use the engine object curx cury values. rather than try to alter design.
    read the user manual on using the engine object.

  • edited 1:27PM
    I've just discovered that the position values in the design-time property editor are in centremeters (I guess it would be inches if you're using the imperial system), but at runtime they use pixels.
    I was trying to adjust the Left property of a number objects at runtime by adding an offset of 4.33. At first I thought it wasn't working at all - until I realised it was moving by 4 pixels instead of 4cm.
  • gordkgordk St.Catherines On. Canada.
    edited 1:27PM
    jbarker wrote: »
    I've just discovered that the position values in the design-time property editor are in centremeters (I guess it would be inches if you're using the imperial system), but at runtime they use pixels.
    I was trying to adjust the Left property of a number objects at runtime by adding an offset of 4.33. At first I thought it wasn't working at all - until I realised it was moving by 4 pixels instead of 4cm.
    the design time editor uses whatever you set it for menu>view>options.
  • edited 1:27PM
    Well that's handy to know. Thanks!

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.