I'd like to better understand what Fields do to their MemHandles. For instance, I understand that they may grow the handle if it's too small to hold all the text but do they also shrink the handle when the text is deleted? If someone can point me towards a good reference I'd appriciate it.

As per suggestions for the masking of passwords typed into a text field, I am manually updating the field on a keydownEvent. I've allocated a memory handle of sufficiant size to hold the password and assigned it to the text field. On keydownEvent I StrCat the new char value to the end of the field's text either masked of unmasked. Can I assume that the handle I allocated is still being used by the text field or do I have to FldGetTextHandle() again and then check that the size is large enough to hold the next character?



Dana


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

Reply via email to