Thank you for the response.  It is definitely a drawing problem( I have
checked the string buffer, and the new string is in it and it is null
terminated).  You can also tell on the display because you see a partial
letter as opposed to a string with appended letters after it.  I am
using FrmSetTitle and when I was checking around I also saw that this
was documented as fixed in OS3.0.  I even went so far as to add
FrmUpdateForm after I set the title, which I believe is the documented
"fix" prior to OS3.0.  I have even tried this on the emulator and it
seems to work there as well.  I am going to see if I can get the
OS3.5.2H ROM for the emulator from Handspring and see what happens.

Thanks again.
Kevin P. Aretha


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Chris
Tutty
Sent: Wednesday, February 12, 2003 1:51 PM
To: Palm Developer Forum
Subject: Re: Form title does not update correctly on Handspring visor

From: "Kevin Aretha" <[EMAIL PROTECTED]>
> I have an application that changes the form title based on what the
user
> has chosen on the form.  The title updates correctly on a Palm m100
> running OS3.5.1.  It does not update correctly on a Handspring visor
> running OS3.5.2H.   What happens is that if a new title is shorter
than
> the previous one, remnants of the longer one remain after the text of
> the shorter title.  
> 
This is documented as fixed in PalmOS 3.0, but possibly the
problem is a side-effect of something else.  Are you using 
FrmCopyTitle or FrmSetTitle?  Is the problem possibly that
the new string isn't null-terminated so that the end of the old
string is still in the buffer or does it look more like a drawing 
problem?  Is another window or form popped up that might 
trigger a 'save-behind' redraw of the old title?

Chris Tutty


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


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

Reply via email to