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 #78 background imageLoading...
Page #78 background image
// Set Scrolling just like a PegWindow
list->SetScrollMode(WSM_AUTOVSCROLL);
PegPrompt *pp;
pp = new PegPrompt(0, 0, "Hello everybody", 0,
FF_NONE|TJ_LEFT|AF_ENABLED|TT_COPY);
list->AddToEnd(pp);
pp = new PegPrompt(0, 0, "Hello again", 0,
FF_NONE|TJ_LEFT|AF_ENABLED|TT_COPY);
list->AddToEnd(pp);
pp = new PegPrompt(0, 0, "How are you?", 0,
FF_NONE|TJ_LEFT|AF_ENABLED|TT_COPY);
list->AddToEnd(pp);
pp = new PegPrompt(0, 0, "Goodbye", 0,
FF_NONE|TJ_LEFT|AF_ENABLED|TT_COPY);
list->AddToEnd(pp);
pp = new PegPrompt(0, 0, "Bye-Bye", 0,
FF_NONE|TJ_LEFT|AF_ENABLED|TT_COPY);
list->AddToEnd(pp);
Notice that the PegVertList’s scroll mode is set in the same way that a PegWindow’s is
set. We mentioned before the list manages the position of the PegPrompts. In this
example even though all PegPrompts are created at the same location, when they are
placed in a the list they will be arranged correctly:
On selection, the list sends PSF_LIST_SELECT signals to the parent object.
PegComboBox
Class Name Derived From Styles Signals
PegComboBox PegVList
FF_NONE
FF_THIN
FF_THICK
PSF_SIZED
PSF_FOCUS_RECEIVED
PSF_FOCUS_LOST
78

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