Description |
Parent class: XWindow
XNoteBookPage is a page of XNoteBook. You can add one ore more pages to a notebook. The behaviour of a XNoteBookPage is like any other window so you can use all functions like DoCommand, DoControl etc.
GetBackgroundColor |
XColor * buffer
Returns the background color.
XNoteBookPage |
XNoteBook * notebook | notebook which gets the page | ||||||||||||
USHORT style | style of the page:
(can be or-ed, default is BP_MAJOR|BP_STATUSTEXTON) | ||||||||||||
USHORT order | where to insert:
if BP_LAST or BP_FIRST, insertBehind is ignored (default BP_LAST) | ||||||||||||
XNoteBookPage * insertBehind | insert behind this page (default is NULL) | ||||||||||||
XResource * resource | It is possibe to load a dialog from the resources to be a bookpage. If you want to do so give here a XResource which contains the id of the dialog to load and the resourcelibrary where to load the dialog from. If you have created one or more pages from resources, you should resize the notebook. Default is NULL. |
Construct a notebook-page and adds it to a given notebook
If the method fails an exception of the type XException is thrown.
GetPageCount |
SHORT numberOfPages
Returns the count of minor-pages behind this page up to the next major-page
SetTop |
Set the page to the top of the notebook
SetBitmap |
XBitmap * bitmap the bitmap to display
Set the bitmap of the tab
SetStatusText |
char * text the text to display
Set the text of the status-line (if the page has one)
SetText |
char * text the text to display
Set the text of the tab