PDA

View Full Version : Combining a form-panel and window via inheritance? possible?



wmcnamara
4 Apr 2013, 5:21 AM
I've been traditionally creating a window, and adding a form panel as an item of the window.

I was wondering if there is an easy way, to have a form panel decorate itself as a window, or vise verse have a window decorate itself as a form panel, and if so how would I do it?

I just find it a bit silly, to have a panel in a panel, in views that will never need to be used elsewhere.

krullj
4 Apr 2013, 5:36 PM
Do you have to have all the functionality of a window? You could make the form panel be a floating form panel instead. You could probably even give it a header and some tools to give it the usual window controls at the top.