Difference between revisions of "LCL Components"

From Free Pascal wiki
Jump to navigationJump to search
(→‎System tab: Add SQLdb palette)
(Arrange chapter to have the same order as the palettes in the Lazarus IDE)
Line 40: Line 40:
 
*Several useful '''[http://lazarus-ccr.sourceforge.net/index.php?wiki=DialogExamples Dialog]'''  procedures or functions don't appear on the palette, but are easily used as direct calls from your source program.
 
*Several useful '''[http://lazarus-ccr.sourceforge.net/index.php?wiki=DialogExamples Dialog]'''  procedures or functions don't appear on the palette, but are easily used as direct calls from your source program.
  
==[[Misc tab]]==  
+
==[[Data Controls tab]]==  
<center>[[Image:Component_Palette_Misc.png|size="100%"]]</center>
+
Data-aware components, which largely replicate the Standard and Additional groups but are applicable to databases:
* Components installed by default as part of the LCL:
 
** [[TColorButton]], [[TSpinEdit]], [[TFloatSpinEdit]], [[TArrow]], [[TCalendar]], [[TEditButton]], [[TFileNameEdit]], [[TDirectoryEdit]], [[TDateEdit]], [[TCalcEdit]], [[TFileListBox]], [[TButtonPanel]], [[TShellTreeView]], [[TShellListView]], [[TXMLPropStorate]], [[TIniPropStorage]], [[TJsonPropStorage]], TIDEDialogLayoutStorage
 
  
==[[Data Controls tab]]==
 
 
(See also the [http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/index-4.html DBCtrls unit Online Docs])
 
(See also the [http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/index-4.html DBCtrls unit Online Docs])
 
<center>[[Image:Component_Palette_Data Controls.png]]</center>
 
<center>[[Image:Component_Palette_Data Controls.png]]</center>
Data-aware components, which largely replicate the Standard and Additional groups but are applicable to Databases:
 
 
* Components installed by default as part of the LCL:
 
* Components installed by default as part of the LCL:
 
** [[TDBNavigator]], [[TDBText]], [[TDBEdit]], [[TDBMemo]], [[TDBImage]], [[TDBListBox]], [[TDBComboBox]], [[TDBLookupCombobox]], [[TDBCheckBox]], [[TDBRadiogroup]], [[TDBCalendar]], [[TDBGroupBox]], [[TDBGrid]]
 
** [[TDBNavigator]], [[TDBText]], [[TDBEdit]], [[TDBMemo]], [[TDBImage]], [[TDBListBox]], [[TDBComboBox]], [[TDBLookupCombobox]], [[TDBCheckBox]], [[TDBRadiogroup]], [[TDBCalendar]], [[TDBGroupBox]], [[TDBGrid]]
Line 56: Line 52:
  
 
==[[Data Access tab]]==
 
==[[Data Access tab]]==
 +
Tha palette '''Data Access''' contains components for access to local and in-memory database tables.
 
<center>[[Image:Component_Palette_Data Access.png]]</center>
 
<center>[[Image:Component_Palette_Data Access.png]]</center>
 
* Components installed by default
 
* Components installed by default
Line 71: Line 68:
  
 
==[[SQLdb_tab|SQLdb tab]]==
 
==[[SQLdb_tab|SQLdb tab]]==
 +
Non-visible components for access to "large" database systems.
 +
 
<center>[[Image:Component_Palette_SQLdb.png]]</center>
 
<center>[[Image:Component_Palette_SQLdb.png]]</center>
Non-visible components for access to "large" database systems.
 
  
 
* Installed components:
 
* Installed components:
 
** [[TSQLQuery]], [[TSQLTransaction]], [[TSQLScript]], [[TSQLConnector]], [[TMSSQLConnection]], [[TSybaseConnection]], [[TPQConnection]], [[TPQTEventMonitor]], [[TOracleConnection]], [[TODBCConnection]], [[TMySQL40Connection]], [[TMySQL41Connection]], [[TMySQL50Connection]], [[TMySQL51Connection]], [[TMySQL55Connection]], [[TMySQL56Connection]], [[TSQLite3Connection]], [[TIBConnection]], [[TFBAdmin]], [[TFBEventMonitor]], [[TSQLDBLibraryLoader]]
 
** [[TSQLQuery]], [[TSQLTransaction]], [[TSQLScript]], [[TSQLConnector]], [[TMSSQLConnection]], [[TSybaseConnection]], [[TPQConnection]], [[TPQTEventMonitor]], [[TOracleConnection]], [[TODBCConnection]], [[TMySQL40Connection]], [[TMySQL41Connection]], [[TMySQL50Connection]], [[TMySQL51Connection]], [[TMySQL55Connection]], [[TMySQL56Connection]], [[TSQLite3Connection]], [[TIBConnection]], [[TFBAdmin]], [[TFBEventMonitor]], [[TSQLDBLibraryLoader]]
 +
 +
==[[Misc tab]]==
 +
<center>[[Image:Component_Palette_Misc.png|size="100%"]]</center>
 +
* Components installed by default as part of the LCL:
 +
** [[TColorButton]], [[TSpinEdit]], [[TFloatSpinEdit]], [[TArrow]], [[TCalendar]], [[TEditButton]], [[TFileNameEdit]], [[TDirectoryEdit]], [[TDateEdit]], [[TCalcEdit]], [[TFileListBox]], [[TButtonPanel]], [[TShellTreeView]], [[TShellListView]], [[TXMLPropStorate]], [[TIniPropStorage]], [[TJsonPropStorage]], TIDEDialogLayoutStorage
  
 
== [[SynEdit_tab|SynEdit tab]] ==
 
== [[SynEdit_tab|SynEdit tab]] ==
 +
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 [http://synedit.sourceforge.net synedit at sourceforge]
 +
 
<center>[[Image:Component_Palette_SynEdit.png]]</center>
 
<center>[[Image:Component_Palette_SynEdit.png]]</center>
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 [http://synedit.sourceforge.net synedit at sourceforge]
 
  
Components installed by default:
+
* Components installed by default:
* [[TSynEdit]], [[TSynCompletion]], [[TSynAutoComplete]], [[TSynMacroRecorder]], [[TSynExporterHTML]], [[TSynPluginSyncroEdit]], [[TSynPasSyn]], [[TSynFreePascalSyn]], [[TSynCppSyn]], [[TSynJavaSyn]], [[TSynJSSyn]], [[TSynPerlSyn]], [[TSynHTMLSyn]], [[TSynXMLSyn]], [[TSynLFMSyn]], [[TSSynDiffSyn]], [[TSynUNIXShellScriptSyn]], [[TSynCssSyn]], [[TSynPHPSyn]], [[TSynTeXSyn]], [[TSynSQLSyn]], [[TSynPythonSyn]], [[TSynVBSyn]], [[TSynAnySyn]], [[TSynMultiSyn]], [[TSynBatSyn]], [[TSynIniSyn]], [[TSynPoSyn]]
+
** [[TSynEdit]], [[TSynCompletion]], [[TSynAutoComplete]], [[TSynMacroRecorder]], [[TSynExporterHTML]], [[TSynPluginSyncroEdit]], [[TSynPasSyn]], [[TSynFreePascalSyn]], [[TSynCppSyn]], [[TSynJavaSyn]], [[TSynJSSyn]], [[TSynPerlSyn]], [[TSynHTMLSyn]], [[TSynXMLSyn]], [[TSynLFMSyn]], [[TSSynDiffSyn]], [[TSynUNIXShellScriptSyn]], [[TSynCssSyn]], [[TSynPHPSyn]], [[TSynTeXSyn]], [[TSynSQLSyn]], [[TSynPythonSyn]], [[TSynVBSyn]], [[TSynAnySyn]], [[TSynMultiSyn]], [[TSynBatSyn]], [[TSynIniSyn]], [[TSynPoSyn]]
 +
** Additional highlighters are available on https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/extrasyn/. This package can also be installed via [[Online_Package_Manager|Online package manager]]. They are collected in a separate palette '''SynEdit Highlighters'''.
  
 
== [[Chart_tab|Chart tab]] ==
 
== [[Chart_tab|Chart tab]] ==
 +
The '''Chart tab''' lists components for use with graphs and charts from the [[TAChart]] package. They are not part of the LCL, but most of them are installed by default.
 +
 
<center>[[Image:Component_Palette_Chart.png]]</center>
 
<center>[[Image:Component_Palette_Chart.png]]</center>
The '''Chart tab''' lists components for use with graphs and charts from the [[TAChart]] package. They are not part of the LCL, but most of them are installed by default.
 
  
 
* Components installed by default
 
* Components installed by default
Line 94: Line 100:
  
 
== [[IPro_tab|iPro tab]] ==
 
== [[IPro_tab|iPro tab]] ==
 +
The '''IPro''' palette lists components related to display of html pages. They do not belong to the IDE but are needed by the IDE to show the html-formatted popup coding hints and the chm help files.
 +
 
<center>[[Image:Component_Palette_IPro.png]]</center>
 
<center>[[Image:Component_Palette_IPro.png]]</center>
The '''IPro tab''' lists components related to display of html pages. They do not belong to the IDE but are needed by the IDE to show the html-formatted popup coding hints and the chm help files.
 
  
 
* Components installed:
 
* Components installed:

Revision as of 18:59, 10 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)

size="100%"
  • Pointer (used to indicate you are not selecting a component)

Additional tab

(See also the ExtCtrls unit Online Docs)

Component Palette Additional.png

Common Controls tab

(See also the ComCtrls unit Online Docs)

Component Palette Common Controls.png
  • Controls which are not part of the LCL, but install in this tab:
    • TRichMemo
    • TDateTimePicker (included in Lazarus and installed automatically with make bigide, but not officially part of LCL)

Dialogs tab

(See also the Dialogs unit Online Docs)

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

Data Controls tab

Data-aware components, which largely replicate the Standard and Additional groups but are applicable to databases:

(See also the DBCtrls unit Online Docs)

Component Palette Data Controls.png
  • 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

Tha palette Data Access contains components for access to local and in-memory database tables.

Component Palette Data Access.png

System tab

Component Palette System.png

Components installed by default:

SQLdb tab

Non-visible components for access to "large" database systems.

Component Palette SQLdb.png

Misc tab

size="100%"

SynEdit tab

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

Component Palette SynEdit.png

Chart tab

The Chart tab lists components for use with graphs and charts from the TAChart package. They are not part of the LCL, but most of them are installed by default.

Component Palette Chart.png

iPro tab

The IPro palette lists components related to display of html pages. They do not belong to the IDE but are needed by the IDE to show the html-formatted popup coding hints and the chm help files.

Component Palette IPro.png