Page 1 of 1

Exit Button

Posted: Sat Jan 14, 2012 10:37 am
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

Exit Button

Posted: Mon Jan 16, 2012 7:21 am
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.

Exit Button

Posted: Sat Jan 21, 2012 4:55 am
by abdelhameed
Thanks Vladimir for your support,

Exit Button

Posted: Sun Jan 22, 2012 12:20 am
by Andrew
Hello,

Have a great support!