Difference between revisions of "MDButtonsBar"
From Lazarus wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) (Categorized.) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{MDButtonsBar}} |
===About=== | ===About=== | ||
− | MDButtonsBar is a very small component, derived from TPanel, for help you in MDI Applications, using MultiDoc component. | + | MDButtonsBar (TMultiDocButtonsBar) is a very small component, derived from TPanel, for help you in MDI Applications, using [[MultiDoc]] component. |
===Screen Shot=== | ===Screen Shot=== | ||
− | [[Image: | + | [[Image:Mdbuttonsbar.gif]] |
===Author=== | ===Author=== | ||
Line 13: | Line 13: | ||
===Download=== | ===Download=== | ||
− | The component and a demonstration program can be found on the [http://geocities.yahoo.com.br/hipernetjr/mdbuttonsbar.zip My Geocities Web-Site]. | + | The component and a demonstration program can be found on the [http://sourceforge.net/project/showfiles.php?group_id=92177&package_id=176905 Lazarus CCR SourceForge site] or on [http://geocities.yahoo.com.br/hipernetjr/mdbuttonsbar.zip My Geocities Web-Site]. |
===Change Log=== | ===Change Log=== | ||
Line 46: | Line 46: | ||
* Inactive Buttons; | * Inactive Buttons; | ||
* Property to change Style MDIButtons (KDE, WinXP...). | * Property to change Style MDIButtons (KDE, WinXP...). | ||
+ | |||
+ | [[Category:Components]] | ||
+ | [[Category:Lazarus-CCR]] |
Latest revision as of 19:37, 23 September 2013
│
Deutsch (de) │
English (en) │
español (es) │
português (pt) │
About
MDButtonsBar (TMultiDocButtonsBar) is a very small component, derived from TPanel, for help you in MDI Applications, using MultiDoc component.
Screen Shot
Author
License
Download
The component and a demonstration program can be found on the Lazarus CCR SourceForge site or on My Geocities Web-Site.
Change Log
- Version 0.1 2006/03/16 First beta release.
Dependencies / System Requirements
This component requires the MultiDoc Component.
It is supposed to work on all the Lazarus platforms without change.
Tested only in Win2k.
Installation
- Compile and install tmdbuttonsbar.lpk
- Open the example demo/demomultidoc.lpi
This example can be used as a skeleton for a new application (this is an "advanced" example of demo of MultiDoc).
Usage
At design time:
- On the application main form place a TMultiDoc.
- Create a child form with a main TPanel.
- Put all the object you want for the child to the panel, write the event, etc...
- Do not rely on some TForm event as this form is never show.
- Add an TMdButtonsBar.
- Set the HintMinimize, HintRestore, HintMaximize properties.
- Set the VisibleButtons property.
- Use events OnCloseClick, OnRestoreClick and OnMinimizeClick to handle the actions in MultiDoc (See Demo)
- If possible, change MultiDoc package to Register in Palete Page MultiDoc too :-)!
ToDo List
- Inactive Buttons;
- Property to change Style MDIButtons (KDE, WinXP...).