Hi,
I'm trying to dynamically set a field's underlined attribute. When I do
this I get errors using POSE. I get the following error:
1) The app just wrote to the storage heap. I should use special Palm OS
fcts for this (I thought I just did).
Here is the code segment i'm using:
FieldPtr fld;
FormPtr form;
FieldAttrPtr attrP;
fld = (FieldPtr) FrmGetObjectPtr(form ,
FrmGetObjectIndex(form,frmEngineSettingsTxtAirTempField));
FldGetAttributes(fld, attrP);
attrP.underlined = 1;
FldSetAttributes(fld, attrP);
I'm doing this in an updatehandler function that I wrote for my app. Anyone
have any ideas why POSE doesn't like this? Am I doing something
incorrectly? Anyone have an example that works?
TIA,
Jason Tingle
Mobile Device Development
Developer/Programmer
L3 Communications, TMA Corporation
2750 Prosperity Ave.
Suite 400
Fairfax, VA 22031
Telephone: 703-645-3718
Fax: 703-645-3744
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/