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
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 =
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
--
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]
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
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 );