Hi all,
I need to display some text in a multi-line non-editable fix-sized field.
The field is two-line high and sometimes the text to be displayed will fit
but sometimes it might be longer.
Everything is fine when the text fits, my question thus revolves around the
times when the text does not fit. I am aware the fact that the user could
drag the pen to essentially scroll down within the field to see the
remaining text, but I cannot expect all users know this trick (since there
is no visual cue at all). I want to show an "ellipse button" whenever there
is hidden text, so when user taps on the "ellipse button" the full text will
be displayed in a new form.
What I need to find out is that if there is a more sure way to tell when
there is hidden text. Currently I get by this by experimenting how many
characters the field can fit, then use that "magic number" in my code to
determine if the "ellipse button" should show up or not. Is there a
function that I can call that can tell me if there will be hidden text in
the field?
Thanks,
Edmond
Edmond Chan [EMAIL PROTECTED]
Trio Software Corporation (604) 408-6912
401 -1286 Homer Street (604) 408-6464 fax
Vancouver, B.C.
Canada, V6B 2Y5
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/