> If a popTrigger's associated list only has one item in it, is the popTrigger
> still supposed to display the little drop-down "arrow" (the black triangle)?

Yes, popup triggers always have the arrow.

> With 1 item in the associated list, I still get the little black arrow --
> that is not acceptable.  Am I doing something wrong here, or is this a
> design flaw in the popTrigger control?

Why is this not acceptable, and why would this be a flaw?

How would you propose to change this?  Consider that you can have a
situation where the number of items in the list is not even known at
run time before the user taps the trigger, and the list gets filled
only after the tap.  It could get filled with one item or many items,
depending on a database.  My app uses this technique heavily.

Also, a popup trigger doesn't even need to have an associated list
resource at all.  You can handle the ctlSelect event from a trigger
and treat it just like a regular button if you want.  In my app I did
that in a few places, using a popup trigger to invoke a modal dialog
that contains a big list, instead of being a standard popup list.
(Popup trigger looked better than a dotted selector trigger.)

Why not provide more detail on what you are trying to do in this UI.
Maybe this whole 1-item list issue can be safely ignored, and just let
the user tap the trigger if they want to.

-slj-

Reply via email to