MDButtonsBar: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: MDButtonsBar
| Old | New | Line | |
|---|---|---|---|
| 1 | + | ### About | |
| 2 | + | ||
| 3 | + | MDButtonsBar (TMultiDocButtonsBar) is a very small component, derived from TPanel, for help you in MDI Applications, using [[MultiDoc]] component. | |
| 4 | + | ||
| 5 | + | ### Screen Shot | |
| 6 | + | ||
| 7 | + | <figure> | |
| 8 | + | <img src="Mdbuttonsbar.gif" title="Mdbuttonsbar.gif" /> | |
| 9 | + | <figcaption>Mdbuttonsbar.gif</figcaption> | |
| 10 | + | </figure> | |
| 11 | + | ||
| 12 | + | ### Author | |
| 13 | + | ||
| 14 | + | Júnior Gonçalves | |
| 15 | + | ||
| 16 | + | ### License | |
| 17 | + | ||
| 18 | + | [LGPL](http://www.opensource.org/licenses/lgpl-license.php) | |
| 19 | + | ||
| 20 | + | ### Download | |
| 21 | + | ||
| 22 | + | The component and a demonstration program can be found on the [Lazarus CCR SourceForge site](http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=176905) or on [My Geocities Web-Site](http://geocities.yahoo.com.br/hipernetjr/mdbuttonsbar.zip). | |
| 23 | + | ||
| 24 | + | ### Change Log | |
| 25 | + | ||
| 26 | + | - Version 0.1 2006/03/16 First beta release. | |
| 27 | + | ||
| 28 | + | ### Dependencies / System Requirements | |
| 29 | + | ||
| 30 | + | This component requires the [[MultiDoc]] Component. | |
| 31 | + | ||
| 32 | + | It is supposed to work on all the Lazarus platforms without change. | |
| 33 | + | ||
| 34 | + | Tested only in Win2k. | |
| 35 | + | ||
| 36 | + | ### Installation | |
| 37 | + | ||
| 38 | + | - Compile and install tmdbuttonsbar.lpk | |
| 39 | + | - Open the example demo/demomultidoc.lpi | |
| 40 | + | ||
| 41 | + | This example can be used as a skeleton for a new application (this is an "advanced" example of demo of MultiDoc). | |
| 42 | + | ||
| 43 | + | ### Usage | |
| 44 | + | ||
| 45 | + | At design time: | |
| 46 | + | ||
| 47 | + | - On the application main form place a TMultiDoc. | |
| 48 | + | - Create a child form with a main TPanel. | |
| 49 | + | - Put all the object you want for the child to the panel, write the event, etc... | |
| 50 | + | - Do not rely on some TForm event as this form is never show. | |
| 51 | + | - Add an TMdButtonsBar. | |
| 52 | + | - Set the HintMinimize, HintRestore, HintMaximize properties. | |
| 53 | + | - Set the VisibleButtons property. | |
| 54 | + | - Use events OnCloseClick, OnRestoreClick and OnMinimizeClick to handle the actions in MultiDoc (See Demo) | |
| 55 | + | ||
| 56 | + | - If possible, change MultiDoc package to Register in Palete Page MultiDoc too :-)! | |
| 57 | + | ||
| 58 | + | ### ToDo List | |
| 59 | + | ||
| 60 | + | - Inactive Buttons; | |
| 61 | + | - Property to change Style MDIButtons (KDE, WinXP...). | |
| 62 | + | ||
| 63 | + | --- | |
| 64 | + | *From the Free Pascal wiki, page "MDButtonsBar", as it stood on 2013-09-23 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 65 | + | Category: Components | |
| 66 | + | Category: Lazarus-CCR |
