Page 1 of 1

Buttons in Preview

Posted: Sat Jun 17, 2006 11:17 am
by Shade

By default Preview Window have many buttons. It possible to hide some buttons?

Thanks.

Buttons in Preview

Posted: Sun Jun 18, 2006 5:10 am
by Vital
Shade wrote: By default Preview Window have many buttons. It possible to hide some buttons?

Thanks.

At starting of your application use this code:

Code: Select all

StiOptions.Load();

StiOptions.Preview.Window.ShowToolbar = false;
StiOptions.Preview.Window.ShowPageViewMode = false;
StiOptions.Preview.Window.ShowVertScrollBar = false;
StiOptions.Preview.Window.ShowStatusBar = false;
StiOptions.Preview.Window.ShowPrintButton = false;
StiOptions.Preview.Window.ShowOpenButton = false;
and etc.

Code: Select all

StiOptions.Save();