Re: [Plib-users] Plib beginner questions
Brought to you by:
sjbaker
From:
<coz...@gm...> - 2007-02-13 22:55:47
|
Hi Eoin, I'm answering just because I haven't seen another answer, and I'm probably not the best person to answer, so I'm sorry if this message doesn't helps. > I've been trying to use the puListBox but i can get it working right, and > when i try to use the newList() functions in the callback from the OK button > in the dialog box i get a runtime error. Is there any other widget that > might be more suitable or is there someway of getting puListBox to do the > job. It looks like puListBox is the best widget for the job. This is from http://plib.sourceforge.net/pui/index.html#puListBox : <In this case "list" is a null-terminated array of character strings that contain the items that go into the list box. You are responsible for supplying this array and for making sure that it is still around the entire time the puListBox widget is using it. The widget does not make its own copy of the array.> Maybe somehow the array you supplied was erased. I would check the plib examples, compare the code to them and do things the same way it is done there. -Coz |