Yeah, Manish agrees on that...

On 11/10/05, Dirk Eismann <[EMAIL PROTECTED]> wrote:
sorry for the offtopic-reply but shouldn't your signature read l33t fl3x h4x0r instead of l33t f3lx h4x0r ?

Dirk.

________________________________

Von: [email protected] im Auftrag von Manish Jethani
Gesendet: Mi 09.11.2005 09:36
An: Flexcoders
Betreff: [flexcoders] prompt property in ComboBox as array?



Hi flexcoders,

There's a prompt property in the ComboBox control in Flex 1.5.  The
value can be either a string or an array (I bet you didn't know about
the array bit ;) )

e.g.

  <mx:ComboBox dataProvider="{['1', '2', '3']}" prompt="-select one-" />
  <mx:ComboBox dataProvider="{['1', '2', '3']}" prompt="{['a', 'b', 'c']}" />

In the second example, the items 'a', 'b' and 'c' get displayed in the
dropdown list as "prompts".

Has anyone ever used prompt as an _array_?  What was the use-case?
(Reply only if you've used it as an _array_ in a real application.)

Manish

--
l33t f3lx h4x0r
m4cr0m3d14



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to