Difference between revisions of "MDButtonsBar"

From Lazarus wiki
Jump to navigationJump to search
 
(Categorized.)
 
(11 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:mdbuttonsbar.gif]]
+
[[Image:Mdbuttonsbar.gif]]
  
 
===Author===
 
===Author===
Line 12: 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 18: Line 19:
  
 
===Dependencies / System Requirements===
 
===Dependencies / System Requirements===
This component need installed [http://wiki.lazarus.freepascal.org/index.php/MultiDoc MultiDoc Component]
+
This component requires the [[MultiDoc]] Component.
  
It must work on all the Lazarus platform without change.
+
It is supposed to work on all the Lazarus platforms without change.
  
 
Tested only in Win2k.
 
Tested only in Win2k.
Line 36: Line 37:
 
* Do not rely on some TForm event as this form is never show.
 
* Do not rely on some TForm event as this form is never show.
 
* Add an TMdButtonsBar.
 
* Add an TMdButtonsBar.
* Set propertys HintMinimize, HintRestore, HintMaximize.
+
* Set the HintMinimize, HintRestore, HintMaximize properties.
* Set propertys VisibleButtons.
+
* Set the VisibleButtons property.
 
* Use events OnCloseClick, OnRestoreClick and OnMinimizeClick to handle the actions in MultiDoc (See Demo)
 
* 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 :-)!
 
* If possible, change MultiDoc package to Register in Palete Page MultiDoc too :-)!
 +
 +
===ToDo List===
 +
* Inactive Buttons;
 +
* 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

Mdbuttonsbar.gif

Author

Júnior Gonçalves

License

LGPL

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...).