Just LstSetListChoices will do.
The width is automatically selected to fit the longest element

Michael


-----Original Message-----
From: Steve Bailey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 January 2002 5:17 AM
To: Palm Developer Forum
Subject: Change List Width Dynamically


Greetings,
 I am currently using LstSetHeight to dynamically change the number of
visible items on several of my dropdown lists.

But how do you dynamically change the *width*. I don't see any functions,
and am not very experienced with accessing the control structures. I noticed
that Chris Antos does this with HandyShopper 2.    The dropdown list widens
to just over the width of the longest store name on the main screen.

I'm using CW 6, and want to maintain 3.2 compability, but am flexible with
that.

Appreciate tips,
 Steve



-- 
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/

Reply via email to