Selects a Document neighboring the currently selected one.
bool SelectNextTab( bool forward )
Function SelectNextTab( forward As Boolean ) As Boolean
A boolean value specifying the selection direction.
true if the document selection was successful; otherwise, false.
The SelectNextTab method selects a Document next to the currently selected one. The forward parameter specifies selection direction - set true to select the successive document or false to select the previous one. If only one document is hosted within the current DocumentManager, the SelectNextTab method does nothing.
To explicitly set which document should be selected use the ITabbedViewController.Select method instead.
The SelectNextTab method is performed by a ITabbedViewController. To access a controller associated with the current tabbed view, use the BaseView.Controller method and cast its return value to the ITabbedViewController type.