EasyManuals Logo
Home>Casio>Calculator>ClassPad 300

Casio ClassPad 300 Programming Guide

Casio ClassPad 300
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #64 background imageLoading...
Page #64 background image
PegButton serves as the base class for nearly all PEG button style objects. PegButton
provides the BF_REPEAT timer operation, default frame drawing, and default selection
SIGNALS. You would not normally create an instance of PegButton in your application,
however PegButton is very useful as a base class for your own custom button styles.
PegTextButton
Class Name Derived From Styles Signals
PegTextButton PegButton AF_ENABLED
FF_NONE
FF_THIN
BF_REPEAT
BF_DOWNACTION
TT_COPY
TJ_RIGHT
TJ_LEFT
TJ_CENTER
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
PSF_KEY_RECEIVED
PSF_CLICKED
PegTextButton is simply a button with user-defined text. The text string displayed on the
button face is vertically centered over button client area, and may be horizontally justified
in different ways using the text justification style flags.
A PegButton sends the signal PSF_CLICKED when it is clicked.
The following is an example of creating a PegTextButton. The first two parameters give
the left and top justification respectively.
PegTextButton *button = new PegTextButton(2, 2, "Button");
AddR(button);
PegBitmapButton
Class Name Derived From Styles Signals
PegBitmapButton PegButton AF_ENABLED PSF_SIZED
64

Table of Contents

Other manuals for Casio ClassPad 300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio ClassPad 300 and is the answer not in the manual?

Casio ClassPad 300 Specifications

General IconGeneral
BrandCasio
ModelClassPad 300
CategoryCalculator
LanguageEnglish

Related product manuals