Use this function. it will take array os strings and set it to the list.

    lst = FrmGetObjectPtr(frm, FrmGetObjectIndex(frm, YourList));
    void LstSetListChoices (ListPtr ListP,
                                        char ** itemsText, UInt numItems)
    LstSetSelection(lst, -1);

 use this function to draw
        void LstSetDrawFunction (ListPtr list,
                            ListDrawDataFuncPtr func)

Regards
Prasad
----- Original Message -----
From: Vikas Varshney <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 12:54 AM
Subject: Getting the List Items!


> Hello All,
> I am trying to get the items in a list (an array of pointers).
> Could someone tell me how to get all the items from a list?
> Thanks
> Vikas
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
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