User interface libraries written in PocketC

Postby Grewarrior on Thu Nov 14, 2002 10:22 pm

I am making a program that needs to use a listbox. The listbox is filled with a few items and I need to randomly pick get the text of one of those items. I am using Cgetcursel() to get the index of an item but how do I get the text of that item?
Posts: 1
Joined: Thu Nov 14, 2002 10:19 pm

Postby dcalp on Fri Nov 15, 2002 9:03 am

Cgetcontent(ListHandle) is the function to retrieve the text. If you want the text of other item than the currently selected you need tou change the selection with Csetcursel(ListHandle)



Pocket VisualForms
Visual design for PocketC

Pocket VisualForms
Visual design for PocketC
Posts: 115
Joined: Thu Dec 06, 2001 9:53 am
Location: Argentina

Return to CControls and PocketGUI

Who is online

Users browsing this forum: No registered users and 1 guest