In trying to emulate the address book functionality I have created
a form with a list and an enterable text field. I perform some basic
string processing and then attempt to make use of the handy function
"LstSetTopItem".... but weird stuff happens!

Although the list items DO shift from their previous positions, the
following weird (undesirable) things happen:

1) The entire text area is not being updated: So that if the previous
item at the top of the list WAS "antidisestablishmentterianism"
and the NEW item is "foo" then the results is that the top item
appears as "fooidisestablishmentterianism".

2) The top item is "selected" in a strange way : The background
of the text remains normal, but the area of the item NOT occupied
by text is inverted (in the normal way one would expect a "selected"
item to look.

I've tried various combinations of functions and redrawing the form....
to no avail....

Any ideas??

Dan




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

Reply via email to