Pegeditbox - Casio ClassPad 300 Programming Manual

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

Advertisement

If a string is long enough to require scroll bars, they can be added to the textbox by
calling:
p->SetScrollMode(WSM_AUTOSCROLL);
If you would like the textbox to have scroll bars, make sure that you create the textbox
with the style flag EF_EDIT. While this will not allow a user to edit the text inside the
textbox, but it will allow the user to scroll the text.

PegEditBox

Class Name
Derived From
PegEditBox
PegTextBox
PegEditBox is a multi-line text display control that allows full user editing via pen and
keyboard. A PegEditBox cannot be center justified.
Here is an example of how to create a PegEditBox:
PegRect r = mReal;
r.wBottom = r.wBottom/2;
PegEditBox *p = new PegEditBox(r);
Add(p);
Styles
Signals
FF_NONE
PSF_SIZED
FF_THIN
PSF_FOCUS_RECEIVED
FF_THICK
PSF_FOCUS_LOST
EF_WRAP
PSF_KEY_RECEIVED
TT_COPY
PSF_TEXT_SELECT
TJ_RIGHT
PSF_TEXT_EDIT
TJ_LEFT
PSF_TEXT_EDITDONE
TJ_CENTER
75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents