Hi,
Use LstSetHeight(lstP,visibleItems) API for your problem.
Thanks
Nag
----- Original Message -----
From: "NWADHWANI" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 10:49 AM
Subject: How to dynamically change the number of visible items in a list
resource
Hello,
I have a list (tSTL) resource which can be updated at run-time...e.g.
when the application boots, the list has no items; the application
allows the user to enter some information which needs to be reflected in
the list...so now the list will have some items...My requirement is to
change the number of 'visible' items in the list (i.e. the size of the
drop-down)...i have set this property thru the constructor but i want to
change it programmatically...Any pointers ?? TIA
Regards,
Naren
--
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/