Output list-style data in a dialog from OnClick

Hi.

Im trying to build a form-like report where the user can click any printed amount (in MemoView's), causing the report to show a list-style output of the details that makes the amount. It is all working fine, but I'm having problem finding a way to present the output in a nice list-style. My list have 3 columns, and various number of rows.

Now I use the showmessage, but the formatting is rather poor in this one.

Any hints anyone?

Is it possible to activate a dialog from a dialog-page from script?
Delphi has ShowMessageFmt. Nothing like this in FR?
Is there any way of formatting the output in a showmessage or messagedlg?
Is it possible to change font in theese to a monotype font, so that I can set up decent columns?

Petter

Comments

  • gpigpi
    edited 5:32PM
    wrote:
    Is it possible to activate a dialog from a dialog-page from script?
    Use DialogPage1.ShowModal;
    wrote:
    Delphi has ShowMessageFmt. Nothing like this in FR?
    Is there any way of formatting the output in a showmessage or messagedlg?
    Is it possible to change font in theese to a monotype font, so that I can set up decent columns?
    Create user function to show formwhat you want from Delphi
  • edited 5:32PM
    gpi wrote: »
    gpi wrote: »
    Is it possible to activate a dialog from a dialog-page from script?
    Use DialogPage1.ShowModal;

    Thanks. This did the trick for me. Combined with setting the .visible to false initially, so that the dialog does not show at report execution.
    I could not find any component supporting columns in the dialog page, so i use a listbox with font set to courier to build output with fixed columns.

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.