"Matt Graham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>  ...
> I don't think this would be as much trouble as you're imagining. Delete
> can be done pretty easily. Just add a function to handle keyDown events
> on the fields you want. Then return true to the keyDown and the OS won't
> do anything funny w/ your memory.
>
> A new char can be easily appended, and the MemHandle size increased if
> necessary.  Delete is done w/ just a call to FldGetSelection. If text is
> selected, copy down from any chars after the selection. If no selection,
> just remove the character before the cursor.
>
> Again tho, if it's not worth it, it's not worth it.
>

Also, I just spotted the "FldRecalculateField" function which looks like it
could fit in well with this approach - I think this would eliminate any need
to detach / reattach the field's string buffer whenever an edit needed to be
done by my app instead of the field.  It's starting to look more do-able -
thanks for helping to map out an approach.
   -- Stephen



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to