Page 1 of 1

PostPosted: Thu Nov 14, 2002 10:22 pm
by Grewarrior
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?

PostPosted: Fri Nov 15, 2002 9:03 am
by dcalp
Hello:
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)

Regards


DC

Pocket VisualForms
Visual design for PocketC
http://pocketvf.port5.com
http://www.angelfire.com/rnb/pocketvf