Hi 
Sorry, I couldn't understand what exactly you want to
do. (Please give in the brief what exactly you want to
do)
If you have Pre-Defined items in the list of Popup
trigger
just add those items in in the list control in the
constructor and you can also set the no of visible
items there itself. and set the width of PopupTrigger
and listControl appropriately.

But if your doing it at run time ( from the database
or from some other resources).

you can use either LstSetListChoices or
LstSetDrawFunction. 

if you want code for the above two functions for
drawing a list i'll give it to you.

Bye
--- [EMAIL PROTECTED] wrote:
> 
> So I am an idiot. :)  I should have used a list
> control and when I read 
> the doc's I thought I was supposed to create a
> string lists!  Ugh!  
> Confusing mixture of terminology.
> 
> I got it working by using a list control, not a
> string list...sigh. sorry.
> 
> On Mon, 3 Feb 2003, Ben Combee wrote:
> 
> > At 14:16 2003-2-3 -0500, you wrote:
> > 
> > >OK.  I have read this quote
> > >
> > >"Be sure to set a pop-up trigger's labe lt oa
> string at least as long as
> > >the longest value the trigger's attached list
> will contain.  If the label
> > >is too short, the application can crash the
> device.
> > >
> > >So I setup my label to be long (MUCH) than the
> string-list COMBINED and it
> > >still crashes.
> > >
> > >I am using CWv9 and constructor v1.8.  Can
> someone give me a clue as to
> > >what I am doing wrong?
> > >
> > >BTW - it crashes when I select the popup.
> > 
> > When you tap on the popup but before the list
> appears, or when you tap on a 
> > list item, dismissing the list?
> > How are you specifying the list of values for the
> popup?  Are you using a 
> > custom list generated at runtime?
> > 
> > 
> 
> -- 
> Glenn Ford
> National Library of Medicine
> Bethesda, MD. USA
> 
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to