Pegnotebook - Casio ClassPad 300 Programming Manual

Sdk programming guide
Hide thumbs Also See for ClassPad 300:
Table of Contents

Advertisement

PegNotebook

Class Name
PegNotebook
PegNotebook is a PegWindow derived class for displaying and using a tabbed-notebook
style control. The notebook can have any number of tabs, and each notebook tab is
associated with a different notebook page. Each notebook page displays any user defined
group of objects.
Each notebook tab can either contain simple text, or any user defined object type. Text
tabs use slightly less memory, while user defined tab decorations can give the notebook
control a very custom appearance. Regardless of tab type, the tabs can be displayed at the
top or bottom of the notebook window.
Constructing and displaying PegNotebook requires the following steps:
• Construct the PegNotebook control, passing the number of notebook tabs and the
style of the notebook tabs. For text-only tabs, include the NS_TEXTTABS style.
For custom tabs, do not include the NS_TEXTTABS style.
• Populate each notebook tab with either text or custom objects. This determines
what is displayed on each notebook tab.
• Populate each page of the notebook with a user defined window or group. This
determines what will be displayed on each notebook page as the tabs are selected.
There can be only one child object on each notebook page. To display a group of
objects, a container such as a borderless PegWindow must be created to hold the
sub-objects of the page. This window is then populated with the desired group of
child objects, and set as the notebook client object.
Derived From
Styles
PegWindow
FF_RAISED
FF_RECESSED
NS_TEXTTABS
Signals
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_KEY_RECEIVED
PSF_PAGE_SELECT
48

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents