Steve wrote to Paul Nevai:
# 
# 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.

Do a FldEraseField and [your stuff] and FldDrawField job. Works perfectly for
me. I do it in pedit many times. Best regards, Paul [author of pedit]

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

Reply via email to