Non Usable Lists

Discuss PocketC for Palm OS (including Desktop Edition)

Postby zla00 on Mon Nov 22, 2004 7:34 am

Hello!
Im working on palm as a project for a course im taking. One of the requirements is to make an information sheet that can be filled out and viewed later.
To make user input easier, i am using non-usable lists that are triggered by popup lists. When i come back to the form, i would like to make the previous selection (and other inputs) visible.
The problem is that i cant find any function that will help me display just one of the list items, since the list in non-usable.
Any suggestions would be greatly appreciated...
Thanks!
zla00
 
Posts: 1
Joined: Mon Nov 22, 2004 7:26 am

Postby jstadolnik on Mon Nov 22, 2004 7:03 pm

I'm not sure GUI library you are using. If it the PToolboxLib, you need to use FgetText() or FgetState() to retrieve the currently selected list item. You can then write the retrieved text to a button, label, or just to the screen.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm
jstadolnik
 
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 3 guests

cron