I have a multiline (let's say 3, it doesn't matter) field, and am going 
to insert more text into it than fits on those three lines (but it does 
fit within the limits of the field, no problem). I use two statements:

FldInsert(fld,theChars,StrLen(theChars));               
FldSetScrollPosition(fld,0);

The first of these inserts the text, the second makes sure the text is 
positioned so the user can view the "top" of the field.

Now, the problem is that although the end result is exactly what I want, 
when the text is inserted, the visual appearance is one of "scrolling 
text" as the text "flows" into the field. What I want is for the text to 
simply appear, as it would if I inserted one line of text in a one line 
field (or two lines in a two line field). I've tried things like 
FrmHideObject/FrmShowObject but so far haven't hit on a combination of 
actions which gives me the visual effect I want.

Anyone with any suggestions on this point?

Steve Patt
President, Stevens Creek Software
  http://www.stevenscreek.com/palm
  Best PQA ("ePQA"), PalmSource 99
  Best Application ("PizzaScan"), Palm Developer's Conference 1998
  First printing software for the Palm - September, 1997

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to