|
Slide 10.19: Line-by-line anatomy of DB.c (cont.) Slide 11.1: WML (Wireless Markup Language) Home |
|
DB.c (Cont.)
if ( recH = (MemHandle) DmGetRecord( db, curRec ) )
dbP:
DmOpenRef to open database
index:
Which record to retrieve
CtlGetValue( ctl )
controlP:
Pointer to a control object. (See ControlType.)
CtlSetValue(ctl, value);
controlP:
Pointer to a control object. (See ControlType.)
newValue:
New value to set for the control.
For graphical controls, push buttons, or check boxes, specify 0 for off, nonzero for on.
FldGetTextPtr( fld );
NULL if the field is empty.
fldP:
Pointer to a field object (FieldType structure).