cancelling frxpreview and switch to normal preview?

Hi all
i use this code to connect preview in my form

frxreport1.preparereport;
frxreport1.preview := form2.frxpreview1;
form2.show;
form2.frxpreview1.show ;

till here everything ok
but i added a pop up menu to frxpreview
i want to switch to normal preview (standart full screen) but icant
how to disable frxpreview and open its own preview window ?

thanks

Comments

  • edited 12:08AM

    Hi calikmurat
    Try to code it this way : frxreport1.preview := nil;
    frxReport1.ShowReport;
  • edited 12:08AM
    it works [img]style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> thanks[/img]

Leave a Comment