Hi!

I'd like to make a simple List... I'm using CodeWarrior, make a form and put
a list on it (MainFListList). In a button click event I try to put some text
in the list -> like that :


 ListType * lstPtr;
 char * lines[2];
 char line1[100]= "test line1";
 char line2[100]= "test line2";

 lstPtr = (ListType *) GetObjectPtr(MainFListList);

 lines[0] = (char *) &line1;
 lines[1] = (char *) &line2;

 lstPtr->itemsText=(char **) &lines;

 LstDrawList(lstPtr);


but nothing happend.... why?! Can you help me?! I'm a begginer, so sorry for
this too simple question...

thanx for your help

regards
Xor





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to