Call LstSetHeight(listPtr,noOfRecords); and the Palm OS Gods shall forgive u for u r mistake...
Vikas Lakkashetti ----- Original Message ----- From: "Brad Figler" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, August 22, 2002 3:25 PM Subject: Funny Popup List Behaviour > I have two lists on the my form, both being used as popup lists. > > In the resource file I have both lists set as follows > usable = false > visible items = 0 > > One list has a static list of items in it (defined in the "List Items" > property of the list control). > The other list is dynamically built when the form is loaded (during > frmLoadEvent ). I verified that the list items are being added properly by > temporarily setting the list to usable and setting the number of visible > items to 10. All my strings were there ( add via LstSetListChoices() ). > > Here is the problem: > The static list (defined in the constructor) pops up as one would expect > it to. > The dynamic list shows a black line ( like a 0 height list ) when its > popup trigger is pressed. > > What am I doing to upset the Palm OS gods???? > > Thanks in advance for you help. > > Brad > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
