Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

Property Scaled = False in forms of tutorial

edited January 2004 in Server
Hi!

Is there some special reason for the property Scaled of many forms from the
tutorial (server app) is set to FALSE ?

I discovered that because I was creating a sample app and it freezes avery
time I called a report placed in a form I've created with the property
Scaled = true (default).

TIA

Jose Carlos
Brazil

Comments

  • edited January 2004

    Set Scaled to False on all of your forms.

    Though RB Server is supporting report forms via some magic, keep in mind
    that forms are not designed to be used within threads. In Delphi all visual
    controls - including forms are supposed to execute in the main thread of the
    app. Setting Scaled to true is likely causing code to execute that is not
    thread-safe.

    There is no reason to have scaled report forms. ReportBuilder handles
    scaling internally - it does not use the scaled property.




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.