--- "Williams, Leonidas (IndSys, GEPC)" wrote: > > Thanks for your help. I have already look at the Palm OS Programmer's > Companion as you told me, before posting my doubt. This is my first > application for Palm and I feel very lost. Here is my code: >
<snipped all the code -- Leonidas, just post relevant code snippets> It appears that your code for initializing categories is correct, assuming that CategoryAppInfoStr is the ID of an appInfoStringsRsc containing category names. However, you have a popup trigger and list that you don't set up properly, if you expect it to show the categories all the time. CategorySelect(), which you call in extractList(), sets up the list for its use, then calls CategoryFreeList() to free up the list when it is done. Therefore, calling this will not cause your MainLstSourceList to remain set up with categories. Also, I notice that you return true in EditLeadSourceFormHandleEvent(), regardless of what event is passed in. This tells the OS that you have handled every event for the EditLeadSource form, even though you haven't. __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
