I'll second this: for any list that can change it's content dynamically, I've found that a custom drawing function is by far the easiest/best/most flexible way to go.

Dave Johnson

On Jun 16, 2005, at 9:22 AM, Robert Moynihan wrote:

Scott Erickson wrote:

I have a list that is made up of applications that are found to be infected with a virus. I display them on a form and give the user the option to earse one, all or ignore all. Once they select to delete one of them, i want to edit the text in the list from "Application:Virus" to "*Application:Virus" How can I dynamicly edit the list without rebuilding it from scratch?


Best way is with a custom list draw function. The listHandler calls that function any time it wants to draw/refresh the visible list, and the function would then be designed to find the filename and check the state of the file in question. Then you add, or don't add, the preceeding "*" as the state dictates. Bob.

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



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

Reply via email to