Well, this will give me 0 again What i need is the NumberOfItems defined at form creation Even if the list is empty.
-----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Vladimir Lozhnikov Envoyé : mercredi 19 janvier 2005 13:14 À : Palm Developer Forum Objet : Re: LstGetVisibleItems ? Int16 wVisibleItems = LstGetNumberOfItems( ... ) < LstGetVisibleItems( ..) ? LstGetNumberOfItems( ... ) : LstGetVisibleItems( ..); CA> I use LstGetVisibleItems to know how many visible items was defined with a CA> given list, CA> but this function seems to return 0 if the list is empty. CA> Is it possible to retreive this list info in any cases or should i add empty CA> items CA> on the lists ? CA> Thanks CA> Chris -- 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/