re: Problem with List (GUI)

2006-11-13 Thread Javi Martinez
Hello Barry, thank for response :) My English is not very good, so you have understood bad (sorry) I want to do something like this: --- char **myStrings; myStrings = GetValues(); LstSetListChoices(myList, myStrings, numElementsMyStrings); --- The

re: Problem with List (GUI)

2006-11-10 Thread Barry Jaques
Try this: UInt16 listitem; ListPtr lst; ControlType *ctrl Char* bonus; if (event-eType == popSelectEvent) { if (event-data.popSelect.listID 1) { lst = GetObjectPtr(YourList); listitem = LstGetSelection(lst); bonus =

re: Problem with list

2006-04-05 Thread ThuNguyet Nguyen
Hi there, How do you store the list in the db. I would store data in the db, when I want to show the data, I read from the db and display in the table. If I don't change/delete data, the data is still there in the db. If you could be a little bit more detail, may be someone could help. tnn --

Re: Problem with list

2004-06-01 Thread Matt Graham
rua17 wrote: I have a problem with the following code, I save the info in my DB referenced by gDRecPot and in a metho I display it on a list. I have other dynamic lists and I have no problems no matter the number of records. in this case after 5 records, the app crashes. Related Info name CHAR[60]

Re: Problem with list

2004-05-11 Thread Matt Graham
Marilia Mendes wrote: I implemented my program using list and to scrollbar. however he functions with the values setados in the application. I would like that it showed received values, but the LstSetDrawFunction function that Set callback function draw each item instead of drawing the item's

Re: problem about list?

2002-12-16 Thread Brad Figler
One problem off hand is that you are not creating a buffer to store the result from StrIToA( text, tem ); You probably want to do something like the following. char text[ maxStrIToALen ]; // char *text will cause memory violations. StrIToA( text, temp ); DrawCharstToFitWidth( text, bounds );