Flex3 popup window with minimize/Maximize buttons

505 views
Skip to first unread message

Suraj Gagain

unread,
May 18, 2012, 5:56:39 AM5/18/12
to Flex India Community
We are using title window as a pop-up in FLEX 3
The title window has a property called closeButton which when set to
true displays a close button on the top right hand corner of the title
window. Likewise, We also need minimizeButton property which can
minimise the window. Is there any such component like title window
which has this property of minimize/maximize the window or is there
any suggestion to achive the same.

GAGAN anand

unread,
May 23, 2012, 3:45:11 AM5/23/12
to flex_...@googlegroups.com
Hi,

You can achieve this by creating a custom class extending title window class and add as many images u want to the title bar.



--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.




--
Thanks
Gagan Deep

Veerabhadraiah A S

unread,
May 23, 2012, 3:52:07 AM5/23/12
to flex_...@googlegroups.com
Hi Gagan, just to ease the difficulties, i dont think its needed to do what you said above. When we have the container flexlib.mdi.containers.MDIWindow, which provides all the controls then we can use it.
Thanks and Regards,
Veerabhadraiah A S,
Software Engineer,
Above Solutions India Pvt Ltd,
Indira Nagar,
Bangalore.



Veerabhadraiah A S

unread,
May 23, 2012, 3:19:38 AM5/23/12
to flex_...@googlegroups.com
Try using MDIWindow component

--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

Divya Agarwal

unread,
May 23, 2012, 5:13:13 AM5/23/12
to Flex India Community
Hi

you can use the addchild() property in createchildren() method of
title window class by extending it in your custom component .

Regards
Divya

GAGAN anand

unread,
May 28, 2012, 2:25:53 AM5/28/12
to flex_...@googlegroups.com
Hi Veerabhadraiah,

For using MDIWindow, you need to import swc file and it contains other functionalities also which you might not need. So it would be better to extend TitleWindow class to create your own functionality and you will have better control over it.

Hope I made myself clear.

--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To post to this group, send email to flex_...@googlegroups.com.
To unsubscribe from this group, send email to flex_india+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.




--
Thanks
Gagan Deep

Javier Bautista

unread,
Jan 11, 2013, 8:24:08 AM1/11/13
to flex_...@googlegroups.com
No se si esto te llega ya tarde o si es lo que necesitabas, pero yo no me he complicado mucho y he tirado por usar:

(mdiWin.minimizeBtn.parent as MDIWindowControlsContainer).removeChild(mdiWin.minimizeBtn);

Espero que te sirva de algo o a alguien. Un saludo

Pdta.: Yo también echo de menos un showMinimizeButton al igual que hay un showControls y showCloseButton

atul parihar

unread,
Jan 15, 2013, 7:27:53 AM1/15/13
to flex_...@googlegroups.com
Not able to understand. pls write in english
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/flex_india/-/Hf7LLr21N9YJ.
> To post to this group, send email to flex_...@googlegroups.com.
> To unsubscribe from this group, send email to
> flex_india+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>


--
Regards,
Atul Parihar
--------------------------------------------------------------------------------------------------------------------------------------
SAPPHIRE | Polaris Financial Technology Limited, Goregaon Mumbai |
Ph.:+91-22420292 | Extn : 1526 | Cell No.: +91-9967521844
Reply all
Reply to author
Forward
0 new messages