Title window moving/drag

32 views
Skip to first unread message

Shankar Waghamare

unread,
Sep 12, 2012, 10:09:39 AM9/12/12
to flex_...@googlegroups.com
 In my application i want to drag a popup window all over the screen i.e in browser
any one know how to achieve this.

Abhishek Chaudhary

unread,
Sep 13, 2012, 1:41:45 AM9/13/12
to flex_...@googlegroups.com

Hi,

 

Popup screens generally can move in and out of entire browser, do you want to restrict only within browser? Please clarify the use case.

 

Regards,

Abhishek

--
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/-/zICFeeZZ6hUJ.
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.

Manikandan S

unread,
Sep 12, 2012, 10:21:19 PM9/12/12
to flex_...@googlegroups.com
Hi Shankar,

 You can use 'TitleWindow' class to achieve your requirement.
 1. Create a application with base class as TitleWindow and paint your popup window's controls in it
 2. Launch the above created application as popup using PopupManager.

Just try it out.

Have a Nice Day.

Best wishes and regards,


Shankar Waghamare

unread,
Sep 13, 2012, 5:02:43 AM9/13/12
to flex_...@googlegroups.com
i hv one base Application on top of it i want to move/drag the popup window all over the screen.
@ mani:i think with out titlewindow we can not create a popup window rright?
@ abhishek : genarly popup window only move in the it's application..

Nagarjuna chilukuri

unread,
Sep 13, 2012, 2:17:31 PM9/13/12
to flex_...@googlegroups.com
Hi,
To prevent dragging popup window not go beyond our application boundary, we have register listener for MoveEvent and check the bounds of application and the pop-up. we can restrict the pop-up window not to beyond the application bounds.

Thanks,
Nagarjuna.


On Wed, Sep 12, 2012 at 7:39 PM, Shankar Waghamare <w.sh...@gmail.com> wrote:
 In my application i want to drag a popup window all over the screen i.e in browser
any one know how to achieve this.

--

madhavi chinni

unread,
Sep 13, 2012, 7:25:02 AM9/13/12
to flex_...@googlegroups.com
Hi,
 
I display a pop up on click of a custom component.I want to position the popup relative to the custom component I click.
Also I want the popup to be positioned within the browser.
Could anyone please provide me the solution?
 
Thanks,
Madhavi
--
To the Question of ur life,
u r the only Answer,
To the Problems of ur life,
u r the only Solution
...

sarada prasad

unread,
Sep 18, 2012, 7:46:20 AM9/18/12
to flex_...@googlegroups.com
Hi Madhavi,


       U can use PopupManager Class for displaying a pop up. Open up the popup object by using
var objPop:Object =  PopupManager.addPopUP(popupObject, true).
objPop.x = 100;
objPop.y = 100;

In this way u can specify the position for pop up.
I hope this works. If i understood something wrong. Please let me know.

--
Thanks &  Regards,

N.V.S.Sarada Prasad

Reply all
Reply to author
Forward
0 new messages