Accessors for class IlvNotebook

Properties

Methods

Description

IlvNotebook is a predefined gadget class that simulates a real notebook. It allows the user to select the pages of the notebook by using the pointing device.
You can customize the notebook to meet your specific application requirements:
Each page of the notebook is implemented by the class IlvNotebookPage. The default implementation of this class is to create an IlvGadgetContainer that displays the contents of the page.

TypeNameDescriptionNotes
UIntbottomPageMarginReturns the margins between the notebook borders and the page area of the notebook page (see pageArea).
UIntcountReturns the number of notebook pages.
VoidensureVisible(UInt index)Ensures that the tab with the index index becomes visible. This does not change the selected tab.
UIntfirstVisibleChanges the first visible tab. This only scrolls the tabs and does not change the selected page.
Returns the index (starting at 0) of the first visible tab. If this value is not 0,some tabs are not visible and the scrolling arrows are visible.
BooleanflipLabelsChanges the display style of the tab labels.
ObjectgetPage(UInt index)Returns the notebook page whose index is supplied as a parameter.
ObjectgetPageByName(String name)Returns the notebook page whose name is specified as a parameter.
UIntleftPageMarginReturns the margins between the notebook borders and the page area of the notebook page (see pageArea).
IlvRectpageAreaReturns the rectangle of the page area with the page margin having already been taken into account.
IlvGadgetContainerparentReturns the view, if any, where the notebook is displayed.
UIntrightPageMarginReturns the margins between the notebook borders and the page area of the notebook page (see pageArea).
UIntselectedPageSets or gets the index of the selected page.
UInttabXMarginChanges the x margin of the notebook. This margin is the horizontal space between the border of the tab and the tab label. It becomes a vertical space when labels are drawn vertically.
Returns the x margin of the notebook.
UInttabYMarginChanges the y margin of the notebook.
Returns the y margin of the notebook. This margin is the vertical space between the border of the tab and the tab label. It becomes a horizontal space when labels are drawn horizontally.
DirectiontabsPositionSets or gets the position of the tabs. Tabs can be displayed on any side of the notebook (IlvTop, IlvRight, IlvLeft, IlvBottom).
UInttopPageMarginReturns the margins between the notebook borders and the page area of the notebook page (see pageArea).
BooleanverticalLabelsChanges the orientation of the labels. Each tab of the notebook can contain a label, which can be drawn horizontally or vertically.
Returns true if the tab labels are drawn vertically.