Functions | |
| Boolean | osVerGe (UInt32 version_no) |
| checks if the PalmOS version on the current device is greater or equal to the one specified. More... | |
| Char * | Pence2String (Int32 pence) FORM_SECTION2 |
| Get a 32bit int containg a sum of money in pence and return a pointer to a proper formatted string. More... | |
| void | DrawCharsRightAlign (const Char *s, const RectangleType *bounds) FORM_SECTION2 |
| draw right aligned text. More... | |
| Int32 | String2Pence (Char *sum) FORM_SECTION2 |
| Get a string containing a sum of money and convert it to pence. More... | |
| void * | GetObjectPtr (UInt16 objID) FORM_SECTION2 |
| returns a pointer to a given object in the current form. More... | |
| void * | GetObjectPtrByForm (FormPtr frm, UInt16 objID) FORM_SECTION2 |
| returns a pointer to a given object in a given form. More... | |
| Char * | GetTextPtr (UInt16 objID) FORM_SECTION2 |
| returns pointer to the text in a given field in the current form. More... | |
| FieldPtr | SetFieldTextFromHandle (Int16 fieldID, MemHandle txtH) |
| fills in a text field from a memory handle. More... | |
| FieldPtr | SetFieldTextFromStr (Int16 fieldID, const Char *str) FORM_SECTION2 |
| Allocates new handle and copies incoming string. More... | |
| FieldPtr | SetFieldTextFromInt (Int16 fieldID, const Int32 i) FORM_SECTION2 |
| Allocates new handle and copies incoming integer. More... | |
| void | ClearFieldText (Int16 fieldID) FORM_SECTION2 |
| clears the text from a field:. More... | |
| void | updateDateField (UInt16 date_field_id, DateType new_date, Char *date_txt) FORM_SECTION2 |
| fills in a date field (pushbutton or selectortrigger) with a date. More... | |
| void | selectDate (DateType &dest, UInt16 date_field_id, Char *date_txt) FORM_SECTION2 |
| call the system form to choose a new date. More... | |
| Int16 | compareDates (DateType date1, DateType date2) DB_SECTION2 |
| compares two dates. More... | |
| Boolean | validNumberStr (const Char *str, Boolean allow_minus) DB_SECTION2 |
| check if a string contains a valid decimal number. More... | |
| void | PopupListSetSelection (UInt16 listId, UInt16 trigId, Int16 sel_index) FORM_SECTION2 |
| set list selection and update associated popup trigger label. More... | |
Variables | |
| char | cThousandSep |
| Number format: Thousands separator (currently unused). More... | |
| char | cDecimalSep |
| Number format: Decimal separator. More... | |
| Boolean | bDayFirst |
| date format, print day first? More... | |
| char | cDateSep |
| date format, character between day and month. More... | |
|
|
clears the text from a field:.
|
|
||||||||||||
|
compares two dates.
|
|
||||||||||||
|
draw right aligned text.
|
|
|
returns a pointer to a given object in the current form.
|
|
||||||||||||
|
returns a pointer to a given object in a given form.
|
|
|
returns pointer to the text in a given field in the current form.
|
|
|
checks if the PalmOS version on the current device is greater or equal to the one specified. for example if(osVerGe(palmos_3_5)) DoSomething();
|
|
|
Get a 32bit int containg a sum of money in pence and return a pointer to a proper formatted string. the pointer has to be deallocated after use with MemPtrFree |
|
||||||||||||||||
|
set list selection and update associated popup trigger label.
|
|
||||||||||||||||
|
call the system form to choose a new date.
|
|
||||||||||||
|
fills in a text field from a memory handle.
|
|
||||||||||||
|
Allocates new handle and copies incoming integer.
|
|
||||||||||||
|
Allocates new handle and copies incoming string.
|
|
|
Get a string containing a sum of money and convert it to pence.
|
|
||||||||||||||||
|
fills in a date field (pushbutton or selectortrigger) with a date.
|
|
||||||||||||
|
check if a string contains a valid decimal number.
|
|
|
date format, print day first?
Definition at line 52 of file MiscFunc.h. |
|
|
date format, character between day and month.
Definition at line 54 of file MiscFunc.h. |
|
|
Number format: Decimal separator.
Definition at line 50 of file MiscFunc.h. |
|
|
Number format: Thousands separator (currently unused).
Definition at line 48 of file MiscFunc.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002