MDIChild?

Hi,

i use MDI forms. When i set the Report's MDIChild property occurs an error "cannot make a visible window modal" so i set the Modal property False. But this time report doesn't seem on screen. it shows no page.

How can i set MDI property porperly? i use ShowReport for showing report.

Best Regards.

Comments

  • edited 10:26AM
    If you see a blank grey field in the report preview, it means that report was not prepared. Probably because it was not loaded correctly?
  • edited 10:26AM
    Hi,

    i use ShowReport method, like this :

    Report1.ShowReport;

    i also try like this :

    Report1.PrepareReport;
    Report1.ShowReport;

    when i don't use MDI there is no error, everything is fine.

    Thanks.
  • gordkgordk St.Catherines On. Canada.
    edited 10:26AM
    if you have called preparereport
    then use showpreparedreport.
    ;)
  • edited 10:26AM
    thanks,

    i am new on FR. when i use ShowPreparedReport, occurs an Access Violation ;)

    could you write steps change a report MDI please? i use following steps :

    1. design report
    2. change PreviewOptions - MDIChild True
    3. change PreviewOptions - Modal False

    Best Regards.

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.