Very simple,
Fist of all u have to get the pointer of the field
of which u want the text. for that u can use the
function, GetObjectPtr() , and the to get the text use
function FldGetTextPtr(). Then make calulations and
the set the text by using FldSetText(), Hope this will
help u.
Cheers
Vini
--- Johnathan Smith <[EMAIL PROTECTED]> wrote:
> I am new to palm programming I have a form with 3
> textfields on it and one button. if the user clicks
> on
> the button I would like to take the value from
> field1
> and field2 and but the total into field3. Can
> someone
> please show me some sample code on how to read data
> from the textfields, do total and then display the
> data. Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/