MDI with closable tabs for each child window, Sample

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Jonas Mandahl Pedersen

MDI with closable tabs for each child window, Sample

Post by Jonas Mandahl Pedersen » 19 May 2006, 01:04

 Posted by:  Jonas Mandahl Pedersen 

This sample was originally created and posted by Thomas Lauzi in
forum.development (see post "toggle between windows in MDI").

I have modified the sample a bit so it now has buttons for closing the
windows.
And a few bugs is removed.

Thanks to Gerhard and Catalin as well.

Jonas

You do not have the required permissions to view the files attached to this post.

Gerhard Achrainer

Re: MDI with closable tabs for each child window, Sample

Post by Gerhard Achrainer » 19 May 2006, 09:44

 Posted by:  g.achrainer 

Hi Jonas,

real good, but I'd suggest to have the button and the tab title
ownerdrawn... (just in case you've got too much time ;o)

Regards,

Gerhard.

Jonas Mandahl Pedersen

Re: MDI with closable tabs for each child window, Sample

Post by Jonas Mandahl Pedersen » 19 May 2006, 10:05

 Posted by:  Jonas Mandahl Pedersen 

Gerhard,

Yes fully agree, but I will leave that to others!!
Maybe you ?

:-)

Jonas

RainerE
Germany
Posts: 2204
Joined: 27 Apr 2021, 12:40
Location: Germany

Re: MDI with closable tabs for each child window, Sample

Post by RainerE » 19 May 2006, 11:53

 Posted by:  Rainer Ebert 

Nice!

Enhancement idea: If a window is minimized, it should be restored if the
corresponding tab is clicked. Otherwise it's a bit confusing.

Rainer

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests