Hi all,

I've searched the archives both here and on the newsgroups, and can't find 
anything specific to this problem, which is that selecting a category more than 
once will blank the popup trigger.

I have a popup trigger and a list that I pass to CategorySelect. I've defined 
an AppInfoBlock and am using POL's OpenOrCreate function on the database, to 
initialize the app info block. I pass in a category name buffer of size 
dmCategoryLength, so I know it's big enough.

Let's say I have a category, "one" and I add two more categories (via Edit 
Categories...) "two" and "three". Now I pop up my list, selecting "two." No 
problem. I click the trigger again, and the list pops up with "two" correctly 
highlighted. Now I click "two" again, and the popup trigger display is blank.

I've placed a breakpoint at the line following my call to CategorySelect, and 
it appears that on that second call, the index returned by CategorySelect is 
correct, but the buffer is empty ("").

Any suggestions? I admit I'm completely at a loss.

Thanks,

Chuck McKinnon.


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

Reply via email to