I have a generic form where a two-line field would sometimes require to
be a single line because the input data cannot hold on more than one
line. How can I dynamically reduce the number of lines of a field?
I tried FldSetMaxVisibleLines, but it requires OS 4.0 (an undocumented
requirement in the API Ref). I tried changing the extent.y size of the
field bounds, but for that I needed to know the height of a line in the
field font, so I had to do a FntSetFont and somehow the Gremlins found a
bug with that. My next idea is to have another single-line field and
internally select the proper field. Is there a better option?
--
Luc Le Blanc
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/