Difference between revisions of "LCL Components"

From Free Pascal wiki
Jump to navigationJump to search
(→‎Standard tab: Add descriptions to components on Standard palette)
Line 4: Line 4:
 
==[[Standard tab]]==
 
==[[Standard tab]]==
 
(See also the [http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/index-4.html StdCtrls unit Online Docs])
 
(See also the [http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/index-4.html StdCtrls unit Online Docs])
<center>[[Image:Component_Palette_Standard.png]]</center>
+
<center>[[Image:Component_Palette_Standard.png|size="100%"]]</center>
  
 
{| class="wikitable sortable"  
 
{| class="wikitable sortable"  

Revision as of 19:09, 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)

size="100%"
Component Usage Online Docs Description
1 Pointer used to indicate you are not selecting a component
2 TMainMenu wiki Link menu at the top of the form
3 TPopupMenu wiki Link context menu that may popup on predefined events, usually by a click with the right mouse button
4 TButton wiki Link displays a (text) button
5 TLabel wiki Link descriptive text, not editable
6 TEdit wiki Link single-line text edit field
7 TMemo wiki Link multi-line text edit field
8 TToggleBox wiki Link two-state labeled button that is enabled or disabled with a single click.
9 TCheckBox wiki Link box with or without a checkmark acting like an ON/OFF button
10 TRadioButton wiki Link ON/OFF button to be used in conjunction with other TRadioButtons such that only one of them can be ON.
11 TListBox wiki Link list of strings from which the user can make a selection
12 TComboBox wiki Link combination of an edit field with a connected drop down list to choose from.
13 TScrollBar wiki Link allows the user to scroll the content of an associated control by moving an slider
14 TGroupBox wiki Link container that allows several objects to be grouped physically and conceptually
15 TRadioGroup wiki Link group of related but mutually exclusive TRadioButtons, requiring the user to select one of a set of alternatives. It's like a TGroupBox with integrated TRadioButtons
16 TCheckGroup wiki Link group of TCheckBox items physically and logically grouped together on a container component
17 TPanel wiki Link visible container for other components
18 TFrame wiki container for components that can be embedded into forms or other frames
19 TActionList wiki Link list of TActions to centralize menu/mouse/keyboard handling

Additional tab

(See also the ExtCtrls unit Online Docs)

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

Common Controls tab

(See also the ComCtrls unit Online Docs)

Component Palette Common Controls.png
Component Usage Online Docs
TTrackBar wiki Link
TProgressBar wiki Link
TTreeView wiki Link
TListView wiki Link
TStatusBar wiki Link
TToolBar wiki Link
TUpDown wiki Link
TPageControl wiki Link
TTabControl wiki Link
THeaderControl wiki Link
TImgeList wiki Link
TPopupNotifier wiki Link

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
Component Usage Online Docs
TOpenDialog wiki Link
TSaveDialog wiki Link
TSelectDirectoryDialog wiki Link
TColorDialog wiki Link
TFontDialog wiki Link
TFindDialog wiki Link
TReplaceDialog wiki Link
TOpenPictureDialog wiki Link
TSavePictureDialog wiki Link
TCalendarDialog wiki Link
TCalculatorDialog wiki Link
TPrinterSetupDialog wiki Link
TPrintDialog wiki Link,
TPageSetupDialog wiki Link
TTaskDialog wiki Link

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
Component Usage Online Docs
TColorButton wiki Link
TSpinEdit wiki Link
TFloatSpinEdit wiki Link
TArrow wiki Link
TCalendar wiki Link
TEditButton wiki Link
TFileNameEdit wiki Link
TDirectoryEdit wiki Link
TDateEdit wiki Link
TCalcEdit wiki Link
TFileListBox wiki Link
TButtonPanel wiki Link
TShellTreeView wiki
TShellListView wiki
TXMLPropStorage wiki Link
TIniPropStorage wiki Link
TJSONPropStorage wiki Link
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:

Component Usage Online Docs
TDBNavigator wiki Link
TDBText wiki Link
TDBEdit wiki Link
TDBMemo wiki Link
TDBImage wiki Link
TDBListbox wiki Link
TDBComboBox wiki Link
TDBLookupCombobox wiki Link
TDBCheckbox wiki Link
TDBRadiogroup wiki Link
TDBCalendar wiki Link
TDBGroupBox wiki Link
TDBGrid wiki Link

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
Component Usage Online Docs
TDataSource wiki
TBufDataset wiki
TSdfDataset wiki
TCSVDataset wiki
TFixedFormatDataset wiki
TDbf wiki
TParadox wiki
TMemDataset wiki

System tab

Component Palette System.png
Component Usage Online Docs
TTimer wiki Link
TIdleTimer wiki Link
TLazComponentQueue wiki Link
THtmlHelpDatabase wiki Link
THtmlBrowerHelpViewer wiki Link
TProcessUTF8 wiki Link
TAsyncProcess wiki Link
TProcess wiki Link
TSimpleIPCClient wiki
TSimpleICCServer wiki
TXMLConfig wiki
TEventLog wiki

Also on this tab:

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

Component Usage Online Docs
TSynEdit wiki
TSynAutoComplete wiki
TSynExporterHTML wiki
TSynMacroRecorder wiki
TSynMemo wiki
TSynPasSyn wiki
TSynFreePascalSyn wiki
TSynCppSyn wiki
TSynJavaSyn wiki
TSynPerlSyn wiki
TSynHTMLSyn wiki
TSynXMLSyn wiki
TSynLFMSyn wiki
TSynUNIXShellScriptSyn wiki
TSynCssSyn wiki
TSynPHPSyn wiki
TSynTeXSyn wiki
TSynSSQLSyn wiki
TSynPythonSyn wiki
TSynVBSyn wiki
TSynAnySyn wiki
TSynMultiSyn wiki