Exit Button

Stimulsoft Reports.Flex discussion
Locked
abdelhameed
Posts: 4
Joined: Thu Jan 27, 2011 10:16 am
Location: Cairo

Exit Button

Post by abdelhameed »

Hello Sir,

Actually, I need to disable or hide the exit button in viewer in some cases, so is there an option for doing so.
I have checked this line of code :
StiOptions.viewer.toolbar.showCloseButton = false;

it only hide the close button, however the (x) exit button in top right still appears.

Best Regards,

Abdelhameed
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Exit Button

Post by Vladimir »

Hello, Abdelhameed

The specified option hides the Exit button only on the viewer toolbar. The dialog box [X] button does not hide. In order to open the viewer not in the dialog box, please try to use the report.show() method instead of report.showDialog().

Thank you.
abdelhameed
Posts: 4
Joined: Thu Jan 27, 2011 10:16 am
Location: Cairo

Exit Button

Post by abdelhameed »

Thanks Vladimir for your support,
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Exit Button

Post by Andrew »

Hello,

Have a great support!
Locked