Setting print or preview from within DialogForm??

I posted this in the 2.x vcl forum but it looks pretty stale. Not sure if anyone looks at it anymore. I am sorry if that is not true. My question is how to set print or preview from within a DialogForm ?? My report pops up a DialogForm and allows the user to select various options for the report. That all works great except that it always does a preview. I would like to allow them to be able to just print it and skip the preview step.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:33PM
    sorry you cant have it both ways, if you use report dialogs you get a preview.
    if you want to not show previews you must use your own dialogs pass the values to the report
    set the reportcomponents properties and call prepare report then call print.

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.