Previous and Next View

Previous and Next View

Forum member · May 1, 2009
I am displaying the status bar to the user so that they can use its functionality. However, I do not want them to be able to use the "PreviousView" and "NextView" image buttons. Is there a way to hide/disable individual buttons in the status bar, like you can the tool bar? If not, how can I invalidate, both, the "Forward" and "Backward" Stack?

Re: Previous and Next View

Support · May 1, 2009
Hello, It is not possible to hide or disable individual buttons. You will have to hide the entire toolbar in order to hide those buttons. Thanks, ceTe Software Support Team

Re: Previous and Next View

Forum member · May 1, 2009
I thought that may be the case. Can you answer my second question? How can I invalidate the Forward and Backward stack then? For instance the sample code is this: //Backward if (pdfViewer.ExistBackwardStack()) { pdfViewer.GoBackwardStack(); } //Forward if (pdfViewer.ExistForwardStack()) { pdfViewer.GoForwardStack(); } HOW can I make sure that these evaluate to false? I have my PDFViewer in a tab control and after switching tabs, I can not let the user go back or forward....

Re: Previous and Next View

Support · May 1, 2009
Hello, You can check the status of this using the ExistForwardStack and ExistBackwardStack methods of the DynamicPDFViewer object. Thanks, ceTe Software Support Team

Re: Previous and Next View

Forum member · May 1, 2009
I realize that but how can I check this when the user is doing it via the built in status bar? I need a way to set the "Existing" forward and backward stack to null or clear it through code. Is there a way to do that?

Re: Previous and Next View

Support · May 4, 2009
Hello, It is not possible to check the status of using the ExistForwardStack and ExistBackwardStack when the buttons in the toolbar are clicked. You will have to create a custom toolbar with buttons to use that functionality and hide the existing toolbar. Thanks, ceTe Software Support Team