MDButtonsBar: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | ### About | |
| 2 | 2 | ||
| 3 | 3 | MDButtonsBar (TMultiDocButtonsBar) is a very small component, derived from TPanel, for help you in MDI Applications, using [[MultiDoc]] component. | |
| 4 | 4 | ||
| 5 | 5 | ### Screen Shot | |
| 6 | 6 | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 7 | + |  | |
| 11 | 8 | ||
| 12 | 9 | ### Author | |
| 13 | 10 | ||
| 14 | 11 | Júnior Gonçalves | |
| 15 | 12 | ||
| 16 | 13 | ### License | |
| 17 | 14 | ||
| 18 | 15 | [LGPL](http://www.opensource.org/licenses/lgpl-license.php) | |
| 19 | 16 | ||
| 20 | 17 | ### Download | |
| 21 | 18 | ||
| 22 | 19 | 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 | 20 | ||
| 24 | 21 | ### Change Log | |
| 25 | 22 | ||
| 26 | 23 | - Version 0.1 2006/03/16 First beta release. | |
| 27 | 24 | ||
| 28 | 25 | ### Dependencies / System Requirements | |
| 29 | 26 | ||
| 30 | 27 | This component requires the [[MultiDoc]] Component. | |
| 31 | 28 | ||
| 32 | 29 | It is supposed to work on all the Lazarus platforms without change. | |
| 33 | 30 | ||
| 34 | 31 | Tested only in Win2k. | |
| 35 | 32 | ||
| 36 | 33 | ### Installation | |
| 37 | 34 | ||
| 38 | 35 | - Compile and install tmdbuttonsbar.lpk | |
| 39 | 36 | - Open the example demo/demomultidoc.lpi | |
| 40 | 37 | ||
| 41 | 38 | This example can be used as a skeleton for a new application (this is an "advanced" example of demo of MultiDoc). | |
| 42 | 39 | ||
| 43 | 40 | ### Usage | |
| 44 | 41 | ||
| 45 | 42 | At design time: | |
| 46 | 43 | ||
| 47 | 44 | - On the application main form place a TMultiDoc. | |
| 48 | 45 | - Create a child form with a main TPanel. | |
| 49 | 46 | - Put all the object you want for the child to the panel, write the event, etc... | |
| 50 | 47 | - Do not rely on some TForm event as this form is never show. | |
| 51 | 48 | - Add an TMdButtonsBar. | |
| 52 | 49 | - Set the HintMinimize, HintRestore, HintMaximize properties. | |
| 53 | 50 | - Set the VisibleButtons property. | |
| 54 | 51 | - Use events OnCloseClick, OnRestoreClick and OnMinimizeClick to handle the actions in MultiDoc (See Demo) | |
| 55 | 52 | ||
| 56 | 53 | - If possible, change MultiDoc package to Register in Palete Page MultiDoc too :-)! | |
| 57 | 54 | ||
| 58 | 55 | ### ToDo List | |
| 59 | 56 | ||
| 60 | 57 | - Inactive Buttons; | |
| 61 | 58 | - Property to change Style MDIButtons (KDE, WinXP...). | |
| 62 | 59 | ||
| 63 | 60 | --- | |
| 64 | 61 | *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 | 62 | Category: Components | |
| 66 | 63 | Category: Lazarus-CCR |
