Hi All,
I want to display a value in a textfield.Actually it will display the total
sum of two other fields in same form which will be entered by user.Can any
one guide me how to display the value in one Textfield only?
Regards
Khuram Mir
--
For information on using the Palm Developer Forums,
t;[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, June 10, 2003 12:34 AM
Subject: Displaying Text in a TextField.
> Hi All,
> I want to display a value in a textfield.Actually it will display the
total
> sum of two other fields in same fo
If you want to display only, why don't you use "label", instead of "field"
for the output.
"Khuram Mir" <[EMAIL PROTECTED]> ???:[EMAIL PROTECTED]
>
> Hi All,
> I want to display a value in a textfield.Actually it will display the
total
> sum of two other fields in same form which will be ente
--
FieldPtr fieldP;
MemHandle oldText,newText;
fieldP=(FieldPtr)FrmGetObjectPtr(FrmGetActiveForm(),FrmGetObjectIndex(FrmGetActiveForm(),nFieldID));
// nFieldID ID of the field
// strValue is value to be assigned in the field
oldText=FldGetTextHandle(fieldP);
newText=(MemHandle)M