Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 18101, MDI buttons component

by Robert Cerny Email: Anonymous

Fixes problems with disappearing or disabled buttons,
when mdi child form is maximized and adds working MDI window menu.
Source and demo included.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 2.0  to 6.0 509 downloads
Copyright: No significant restrictions

Size: 10,961 bytes
Updated on Fri, 07 Jun 2002 05:24:10 GMT
Originally uploaded on Fri, 07 Jun 2002 05:22:07 GMT
SHA1 Hash: 7C190E601FFD31CDD4D2BC2C4E864ED36AB5C3FA
MD5 Hash: A4C1BC242BC3630F18264B1D5858F353

    Explore the files in this upload

MDI is somewhat deprecated in Delphi world, because of some bugs
in Windows and incompatibilities with VCL. It is still very natural
interface for certain kind of applications, like text editors.

TMDIBorderIcons fixes problems with MDI forms:
- disappearing or disabled buttons when mdi child form is maximized
(which was apparently fixed in win2k)
- MDI window menu item is not working with correctly with VCL dynamic
menu handling (AutoLineReduction,merging,...), so this component
adds a working alternative.
- drop it on MDI form
- set WindowMenu property
- in Application.OnIdle event add this code:
MDIBorderIcons.Visible := (ActiveMDIChild <> nil) and (ActiveMDIChild.WindowState = wsMaximized);

- the main form must not have Menu, use menubar instead. See the demo.

The demo file shows its usage and:
- merging MDI child menus
- the look like MS Winword, where mdi buttons are on menubar,
when it's floating; controlbar,...

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03