10-15-2009, 09:12 AM
Join Date: Oct 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Program with multiple ListFields
Please Login to Remove!
Hello, I need to write a program that has a total of 5 listfields on individual screens that the user will navigate through, finally displaying a results page. When the user clicks on one of the listfields, it needs to store the result, clear the list, and draw a new list based on what the user selected. I've made this program for windows and windows mobile using visual c#, but I'm having extreme difficulty writing this for blackberry.
I've been able to show a list on the screen, and react to the user clicking the trackball. I've been able to delete the elements of a list, but it just shows *empty* on the screen, and I havent been able to repopulate it. I have also been unable to clear the screen entirely to draw a new list. in c#, all I would have to do is use listbox1.visible = true/false, and listbox1_SelectedIndexChanged, and I could use these to flow through the program.
I'm going crazy here. I've been searching for days to find some example code that shows how to do this, but they only show one instance of listfield. can someone write a quick sample code that will show how to do all of this?