Da documentação do Flex:

"A TitleWindow layout container is a Panel container that is optimized
for use as a pop-up window. The container consists of a title bar, a
caption and status area in the title bar, a border, and a content area
for its children. Unlike the Panel container, it can display a Close
button, and is designed to work as a pop-up window that users can drag
around the screen the application window.

A pop-up TitleWindow container can be modal, which means that it takes
all keyboard and mouse input until it is closed, or nonmodal, which
means other windows can accept input while the pop-up window is still
open.

One typical use for a TitleWindow container is to hold a form. When
the user completes the form, you can close the TitleWindow container
programmatically, or let the user request the application to close it
by using the close icon (a box with an x inside it) in the upper-right
corner of the window.

Because you pop up a Title window, you do not create it directly in
MXML, as you do most controls; instead you use the PopUpManager."

http://livedocs.adobe.com/flex/201/html/layouts_065_43.html

Ou seja, é um panel com o botão close. E como pode ser visto no trecho
acima, é um pouco diferente do que o Daniel dá a entender, ou seja,
TitleWindow não flutua "automaticamente" na tela. Tanto é, que se você
definir uma TitleWindow no Application você verá que ela se comportará
exatamente como um Panel (sem flutuar).

Um PopUp Modal é aquele que não lhe permite interagir com a aplicação
atrás dele enquanto ele não for fechado. Quando você usa o
PopUpManager você pode dizer se o seu PopUp será Modal ou não.

[]'s
Beck Novaes

On 11 jul, 09:21, "Leandro Rodrigues Chaves" <[EMAIL PROTECTED]>
wrote:
> Galera, alguém sabe a diferença entre os componentes Panel e o
> TitleWindow? Pelo menos no layout eles parecem servir para as mesmas
> coisas. Mas quando usar um e outro exatamente?


--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para [EMAIL PROTECTED]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---

Responder a