On Tue, 21 Jan 2003, venkatesh moh wrote:

> Iam not able to create a dynamic popup list. I was able to create a
> dynamic list but Iam not clear about popup list.

Are you looking to do a dynamically POPULATED popup list, or a dynamically
CREATED popup list.  There's a big difference.

As far as the first choice, which is doable if you already know where you
want the trigger and popup and they're always in the same place, look into
the combination of LstSetListChoices and LstSetDrawFunction.  You can set
the number of choices without creating a list of strings, and let the draw
function pull the information (from a database or whatever) and draw the
list item on demand.  Of course, getting the text for a list item from the
list control won't work in this case.

As far as the second, I've always avoided dynamic forms after my first
run-in with them, so I don't know the best way to go about that.  It just
seems like that's going through too much trouble when what you might need
is simpler.

-- 
-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
"Senate, n.: A body of elderly gentlemen charged with high duties and
 misdemeanors."  -- Ambrose Bierce

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to