Re: Programmatically setting the number of visible lines in a list

2005-03-19 Thread Robert Moynihan
Luc Le Blanc wrote: How about LstSetHeight()? Bob. Oops! I know,.. it's easy to miss an obvious function once in a while, and embarassing when you find out that you've asked such a simple question. :) Bob. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Programmatically setting the number of visible lines in a list

2005-03-19 Thread Luc Le Blanc
Robert Moynihan a écrit : > Luc Le Blanc wrote: > > >I dynamically fill a list with LstSetListChoices. Depending on context > >the list can have 5 or 9 items. If I set the resource for 9 visible > >items in the Constructor resource file and later use LstSetListChoices > >to pass 5 items, the list

Re: Programmatically setting the number of visible lines in a list

2005-03-18 Thread Robert Moynihan
Luc Le Blanc wrote: I dynamically fill a list with LstSetListChoices. Depending on context the list can have 5 or 9 items. If I set the resource for 9 visible items in the Constructor resource file and later use LstSetListChoices to pass 5 items, the list opens half empty, which looks pretty bad; i

Programmatically setting the number of visible lines in a list

2005-03-18 Thread Luc Le Blanc
I dynamically fill a list with LstSetListChoices. Depending on context the list can have 5 or 9 items. If I set the resource for 9 visible items in the Constructor resource file and later use LstSetListChoices to pass 5 items, the list opens half empty, which looks pretty bad; if I do the opposite,