Difference between revisions of "LCL Components"

From Lazarus wiki
Jump to navigationJump to search
(→‎Standard tab: Add wiki links for Standard palette)
(→‎Additional tab: Add wiki links for components on Additional palette)
Line 51: Line 51:
 
(See also the [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/index-4.html ExtCtrls unit Online Docs])
 
(See also the [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/index-4.html ExtCtrls unit Online Docs])
 
<center>[[Image:Component_Palette_Additional.png]]</center>
 
<center>[[Image:Component_Palette_Additional.png]]</center>
*[http://lazarus-ccr.sourceforge.net/docs/lcl/buttons/tbitbtn.html TBitBtn]
+
 
*[http://lazarus-ccr.sourceforge.net/docs/lcl/buttons/tspeedbutton.html TSpeedButton]
+
{|
*[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tstatictext.html TStaticText]
+
|| Usage                      || Online Docs
*[http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/timage.html TImage]
+
|-
*[http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tshape.html TShape], [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tbevel.html TBevel], [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tpaintbox.html TPaintBox], [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tnotebook.html TNotebook], [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tlabelededit.html TLabeledEdit], [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tsplitter.html TSplitter], [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/ttrayicon.html TTrayIcon], [http://lazarus-ccr.sourceforge.net/docs/lcl/maskedit/tmaskedit.html TMaskEdit], [http://lazarus-ccr.sourceforge.net/docs/lcl/checklst/tchecklistbox.html TCheckListBox], [http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tscrollbox.html TScrollBox], [http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tapplicationproperties.html TApplicationProperties], [http://lazarus-ccr.sourceforge.net/docs/lcl/grids/tstringgrid.html TStringGrid], [http://lazarus-ccr.sourceforge.net/docs/lcl/grids/tdrawgrid.html TDrawGrid], [http://lazarus-ccr.sourceforge.net/docs/lcl/pairsplitter/tpairsplitter.html TPairSplitter], [http://lazarus-ccr.sourceforge.net/docs/lcl/colorbox/tcolorbox.html TColorBox], [http://lazarus-ccr.sourceforge.net/docs/lcl/colorbox/tcolorlistbox.html TColorListBox], [http://lazarus-ccr.sourceforge.net/docs/lcl/chart/index.html TChart]
+
|| [[TBitBtn]]                || [http://lazarus-ccr.sourceforge.net/docs/lcl/buttons/tbitbtn.html TBitBtn]
*[[TrayIcon|TTrayIcon]]
+
|-
 +
|| [[TSpeedButton]]          || [http://lazarus-ccr.sourceforge.net/docs/lcl/buttons/tspeedbutton.html TSpeedButton]
 +
|-
 +
|| [[TStaticText]]            || [http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tstatictext.html TStaticText]
 +
|-
 +
|| [[TImage]]                || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/timage.html TImage]
 +
|-
 +
|| [[Shape]]                  || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tshape.html TShape]
 +
|-
 +
|| [[TBevel]]                || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tbevel.html TBevel]
 +
|-
 +
|| [[TPaintBox]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tpaintbox.html TPaintBox]
 +
|-
 +
|| [[TNotebook]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tnotebook.html TNotebook]
 +
|-
 +
|| [[TLabeledEdit]]          || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tlabelededit.html TLabeledEdit]
 +
|-
 +
|| [[TSplitter]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tsplitter.html TSplitter]
 +
|-
 +
|| [[TTrayIcon]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/ttrayicon.html TTrayIcon]
 +
|-
 +
|| [[TMaskEdit]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/maskedit/tmaskedit.html TMaskEdit]
 +
|-
 +
|| [[TCheckListbox]]          || [http://lazarus-ccr.sourceforge.net/docs/lcl/checklst/tchecklistbox.html TCheckListBox]
 +
|-
 +
|| [[TScrollBox]]            || [http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tscrollbox.html TScrollBox]
 +
|-
 +
|| [[TApplicationProperties]] || [http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tapplicationproperties.html TApplicationProperties]
 +
|-
 +
|| [[TStringGrid]]            || [http://lazarus-ccr.sourceforge.net/docs/lcl/grids/tstringgrid.html TStringGrid]
 +
|-
 +
|| [[TDrawGrid]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/grids/tdrawgrid.html TDrawGrid]
 +
|-
 +
|| [[TPairSplitter]]          || [http://lazarus-ccr.sourceforge.net/docs/lcl/pairsplitter/tpairsplitter.html TPairSplitter]
 +
|-
 +
|| [[TColorBox]]              || [http://lazarus-ccr.sourceforge.net/docs/lcl/colorbox/tcolorbox.html TColorBox]
 +
|-
 +
|| [[TColorListBox]]          || [http://lazarus-ccr.sourceforge.net/docs/lcl/colorbox/tcolorlistbox.html TColorListBox]
  
 
==[[Common Controls tab]]==
 
==[[Common Controls tab]]==

Revision as of 01:04, 9 September 2018

English (en) 日本語 (ja) русский (ru) 中文(中国大陆)‎ (zh_CN)
Please choose the component about which you would like to know more:

Standard tab

(See also the StdCtrls unit Online Docs)

Component Palette Standard.png

In order on the above from left to right:

Pointer; used to indicate you are not selecting a component
Usage Online Docs
TMainMenu TMainMenu
TPopupMenu TPopupMenu
TButton TButton
TLabel TLabel
TEdit TEdit
TMemo TMemo
TToggleBox TToggleBox
TCheckBox TCheckBox
TRadioButton TRadioButton
TListBox TListBox
TComboBox TComboBox
TScrollBar TScrollBar
TGroupBox TGroupBox
TRadioGroup TRadioGroup
TCheckGroup TCheckGroup
TPanel TPanel
TFrame
TActionList TActionList

Additional tab

(See also the ExtCtrls unit Online Docs)

Component Palette Additional.png
Usage Online Docs
TBitBtn TBitBtn
TSpeedButton TSpeedButton
TStaticText TStaticText
TImage TImage
Shape TShape
TBevel TBevel
TPaintBox TPaintBox
TNotebook TNotebook
TLabeledEdit TLabeledEdit
TSplitter TSplitter
TTrayIcon TTrayIcon
TMaskEdit TMaskEdit
TCheckListbox TCheckListBox
TScrollBox TScrollBox
TApplicationProperties TApplicationProperties
TStringGrid TStringGrid
TDrawGrid TDrawGrid
TPairSplitter TPairSplitter
TColorBox TColorBox
TColorListBox TColorListBox

Common Controls tab

(See also the ComCtrls unit Online Docs)

Component Palette Common Controls.png
TTrackBar, TProgressBar, TTreeView, TListView, TStatusBar, TToolBar, TUpDown, TPageControl, TTabControl, THeaderControl, TImageList, TPopupNotifier

Controls which are not part of the LCL, but install in this tab:

  • TDateTimePicker (included in Lazarus and installed automatically with make bigide, but not officially part of LCL)

Tutorials:

Dialogs tab

(See also the Dialogs unit Online Docs)

Component Palette Dialogs.png
TOpenDialog, TSaveDialog, TSelectDirectoryDialog, TColorDialog, TFontDialog, TFindDialog, TReplaceDialog, TOpenPictureDialog, TSavePictureDialog, TCalendarDialog, TCalculatorDialog, TPrinterSetupDialog, TPrintDialog, TPageSetupDialog, TTaskDialog

Several useful Dialog procedures or functions don't appear on the Palette, but are easily used as direct calls from your source program.

Misc tab

Component Palette Misc.png
TColorButton, TSpinEdit, TFloatSpinEdit, TArrow, TCalendar, TEditButton, TFileNameEdit, TDirectoryEdit, TDateEdit, TCalcEdit, TFileListBox, TXMLPropStorage, TIniPropStorage, TBarChart, TButtonPanel, TIDEDialogLayoutStorage

Data Controls tab

(See also the DBCtrls unit Online Docs)

Component Palette Data Controls.png
Data-aware components, which largely replicate the Standard and Additional groups but are applicable to Databases: TDBNavigator, TDBText, TDBEdit, TDBMemo, TDBImage, TDBListBox, TDBComboBox, TDBLookupCombobox, TDBCheckBox, TDBRadioGroup, TDBCalendar, TDBGroupBox, TDBGrid

Also on this tab: TDBDateTimePicker, which is included in Lazarus and installed automatically with make bigide, but not officially part of LCL.

Data Access tab

Component Palette Data Access.png
TDataSource, TBufDataset , TSdfDataSet, TFixedFormatDataSet, TDbf, TParadox, TMemDataset, TFPCodeGenerator

System tab

Component Palette System.png
TTimer, TIdleTimer, TLazComponentQueue, THtmlHelpDatabase, THtmlBrowserHelpViewer, TProcessUTF8, TAsyncProcess, TProcess, TSimpleIPCClient, TSimpleIPCServer, TXMLConfig, TEventLog

SynEdit

Component Palette SynEdit.png
SynEdit is an advanced multi-line edit control, which is integrated into the Lazarus. It is the code editor of the Lazarus IDE and is available in the directory "lazarus/components/synedit". It supports Syntax Highlighting, code completion, code folding and includes exporters for html, tex and rtf. It is a fully custom drawn component, meaning that it doesn't wrap native controls of each platform and that no external library is required; this make SynEdit a crossplatform component. Note that the SynEdit available with Lazarus is a fork of the original SynEdit for Borland Delphi, Kylix and C++Builder which can be found in synedit at sourceforge
TSynEdit, TSynAutoComplete, TSynExporterHTML, TSynMacroRecorder, TSynMemo, TSynPasSyn, TSynFreePascalSyn, TSynCppSyn, TSynJavaSyn, TSynPerlSyn, TSynHTMLSyn, TSynXMLSyn, TSynLFMSyn, TSynUNIXShellScriptSyn, TSynCssSyn, TSynPHPSyn, TSynTeXSyn, TSynSQLSyn, TSynPythonSyn, TSynVBSyn, TSynAnySyn, TSynMultiSyn