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 12:12AM
    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 12:12AM
    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