Friday, June 12, 2009

Flex MDI, Always On Top window

So how does one go about and opens an “Always On Top” window, using the FlexMDI (on flexlib)?

Sadly, I wasn’t able to find any nice solution for this problem and when such frustration comes, I resort to tricks.

My trick in this case was to wrap the MDICanvas with a class of my own, and in it I had two MDI canvases one on top of the other.

I added a nice utility method for opening a window, and according to an indicator on that method I either open it in bottom layer, or the top one; hence the “always on top”.

Not perfect, but working.


No comments:

Post a Comment

Please do not post spam on this blog, Spam sites will be reported to google.
thank you kindly.