Object Properties

PixelPointerPixelPointer Vaughan, Ontario
edited January 2006 in FastReport 3.0
It's ok, I chose to use the FormatFloat function, and it works just fine. Please ignore this post.
Ok, I may be a little slow, but I have been reading over the manuals for Fast Reports (User & Programming), and the Fast Script manual. I cannot find a list of the properties with syntax associated, for instance setting the memo format.

I can see that the properties show in the object inspector, however, I am having no luck with setting the properties.
 ?  ?  ?  memPercentTotal.DisplayFormat.FormatStr :='%2.2f';
 ?  ?  ?  memPercentTotal.DisplayFormat.DecimalSeparator :='.';
 ?  ?  ?  memPercentTotal.DisplayFormat.Kind :=fkNumeric;

Does anyone know where I can get this? If I am being a little slow, feel free to let me know so, but if this seems like a legitimate question, and you know the answer, please lend me a hand.

Thank you.

Comments

  • edited 10:17AM
    I should recommend that you don't use Script on FastReport, so, using FormatFloat function isn't a good idea.

    What problems have you had with the DisplayFormat property?

    Regards.
  • PixelPointerPixelPointer Vaughan, Ontario
    edited 10:17AM
    When I set the DisplayFormat through code, the display does not seem to be affected. I have probably done something wrong. I may have set the the displayformat before I had the textbox set. I was pretty sure that it was right, but since I was able to get FormatFloat to work, I moved on, as I had to get these reports done ASAP.

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.