defmeta
defmeta

Reputation: 1322

Flex alert with TextInput as well as buttons

Does anyone know if it is possible to add other controls to a Flex 3 Alert? What I need is a modal dialoge that allows the user to type in a filename before clicking OK or CANCEL. This seems like it would be best achieved with an Alert but in the documentation I don't see an obvious way to add a TextInput (or any other control except a Button). I'd rather not have to reinvent the wheel but if I have to then hey, I'll do it!

Upvotes: 2

Views: 10712

Answers (3)

Brandon
Brandon

Reputation: 6872

I believe you are looking for a flex Title Window. The Alert allows configuring of buttons and text of the buttons. There are some examples of the title window here.

Upvotes: 5

Chinmay
Chinmay

Reputation: 5151

You can use "PopUpManager" class to make an Alert as per your requirements, Example here or custom pop up

Upvotes: 0

JustLogic
JustLogic

Reputation: 1738

I believe creating your own component to serve this purpose is your only route. You can always use the styles of the alert dialog though so it will look like all other alerts and keep a similar feel throughout your application.

Upvotes: 0

Related Questions