I do not see a LstSetVisibleItems function...
Sorry. It was late--that's what I wanted it to be called. LstSetHeight does what you want.
The other thing you need is LstGlueSetFont. Between the two of them, it should resize the list and give you the correct # of lines. It may even set the default font in the callback routine (I don't remember).
I found that resizing a list with this method may leave an artifact of the old size on the screen. You might need to hide the list (FrmHideObject), resize it (LstSetHeight), change the font (LstGlueSetFont), then show list list (FrmShowObject).
-- Regards, Steve Mann --- steve-at-slorevo.com Available for Contract Work
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
