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 7:38PM
    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