Difference between revisions of "Standard tab"

From Lazarus wiki
Jump to navigationJump to search
(Undo revision 147574 by Slawek (talk))
Tag: Undo
 
(65 intermediate revisions by 9 users not shown)
Line 1: Line 1:
See also [[Lazarus Tutorial#The Component Palette]]
+
{{Standard_tab}}
  
Component Palette Standard tab
+
The '''Standard tab''' on the [[Component Palette]] lists elementary components for use on a form.
[[Image:Component_Palette_Standart.png]]
 
  
== TMainMenu ==
+
[[Image:Component_Palette_Standard.png|size="100%"]]
  
[[Image:tmainmenu.png]]
+
{| class="wikitable sortable"
 +
|-
 +
! Icon !! Component !! Description !! Online Docs
 +
|-
 +
| [[Image:tmainmenu.png]]   || [[TMainMenu]]  || menu at the top of the form
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tmainmenu.html Link]
 +
|-
 +
| [[Image:tpopupmenu.png]]  || [[TPopupMenu]] || context menu that may popup on predefined events, usually by a click with the right mouse button
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tpopupmenu.html Link]
 +
|-
 +
| [[Image:tbutton.png]]      || [[TButton]]    || displays a button with a caption.
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tbutton.html Link]
 +
|-
 +
| [[Image:tlabel.png]]      || [[TLabel]]    || descriptive text field, not editable
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tlabel.html Link]
 +
|-
 +
| [[Image:tedit.png]]        || [[TEdit]]      || single-line text edit field
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tedit.html Link]
 +
|-
 +
| [[Image:tmemo.png]]        || [[TMemo]]      || multi-line text edit field
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tmemo.html Link]
 +
|-
 +
| [[Image:ttogglebox.png]]  || [[TToggleBox]]  || two-state labeled button. Similar to [[TButton]], but stays pressed after the click and is released by the next click.
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/ttogglebox.html Link]
 +
|-
 +
| [[Image:tcheckbox.png]]    || [[TCheckBox]]    || ON/OFF button indicating the ON state by means of a checkmark
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tcheckbox.html Link]
 +
|-
 +
| [[Image:tradiobutton.png]] || [[TRadioButton]] || ON/OFF button to be used in conjunction with other TRadioButtons such that only one of them can be ON.
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tradiobutton.html Link]
 +
|-
 +
| [[Image:tlistbox.png]]    || [[TListBox]]    || shows a list of strings from which the user can make a selection
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tlistbox.html Link]
 +
|-
 +
| [[Image:tcombobox.png]]    || [[TComboBox]]    || combination of an edit field with a connected drop down list to choose from.
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tcombobox.html Link] 
 +
|-
 +
| [[Image:tscrollbar.png]]  || [[TScrollBar]]  || allows the user to scroll the content of an associated control by moving an slider.
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tscrollbar.html Link]
 +
|-
 +
| [[Image:tgroupbox.png]]    || [[TGroupBox]]    || container that allows several objects to be grouped physically and conceptually
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/tgroupbox.html Link]
 +
|-
 +
| [[Image:tradiogroup.png]]  || [[TRadioGroup]]  || 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
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tradiogroup.html Link]
 +
|-
 +
| [[Image:tcheckgroup.png]]  || [[TCheckGroup]]  || group of TCheckBox items physically and logically grouped together on a container component.
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tcheckgroup.html Link]
 +
|-
 +
| [[Image:tpanel.png]]      || [[TPanel]]      || visible container for other components
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/extctrls/tpanel.html Link]
 +
|-
 +
| [[Image:tframe.png]]      || [[TFrame]]      || container for components that can be embedded into forms or other frames
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/actnlist/tframe.html Link]
 +
|-
 +
| [[Image:tactionlist.png]]  || [[TActionList]]  || list of [[TAction]]s to centralize menu/mouse/keyboard handling
 +
||[http://lazarus-ccr.sourceforge.net/docs/lcl/actnlist/tactionlist.html Link]
 +
|}
  
Puts a standard menu bar in the form.
+
== See also ==
 +
* [http://lazarus-ccr.sourceforge.net/docs/lcl/stdctrls/index-4.html stdctrls doc]
  
Main Menu is a non-visible component : that is, if the icon is selected from the Component Pallete and placed on the Form, it will not appear at Run-time. Instead, a Menu bar with a structure defined by the Menu Editor will appear.
+
{{NavComponentPalette}}
 
 
To see the Menu Editor, right-click or double-click on the Main Menu icon on your Form.
 
[[doc:lcl/menus/tmainmenu.html|TMainMenu]]
 
 
 
== TPopupMenu ==
 
 
 
[[Image:tpopupmenu.png]]
 
 
 
Puts a popup menu in the form. This creates a menu that appears when the user right clicks on an object. To change the contents double-click on the icon on the form.
 
[[doc:lcl/menus/tpopupmenu.html|TPopupMenu]]
 
 
 
== TButton ==
 
 
 
[[Image:tbutton.png]]
 
 
 
Puts a button in the form. The user will be able to 'click' on this button and call the onClick event handler (form class method) in your program. The programmer should supply this method to define the action to be taken.
 
 
 
[[doc:lcl/stdctrls/tbutton.html|TButton]]
 
 
 
== TLabel ==
 
 
 
[[Image:tlabel.png]]
 
 
 
Puts text in the form.
 
[[doc:lcl/stdctrls/tlabel.html|TLabel]]
 
 
 
== TEdit ==
 
 
 
[[Image:tedit.png]]
 
 
 
Allows the user to input text.
 
[[doc:lcl/menus/tedit.html|TEdit]]
 
 
 
== TMemo ==
 
 
 
[[Image:tmemo.png]]
 
 
 
Memos are places where you can put lines of text. Use this if you want to allow your user to enter messages or notes, etc.
 
 
 
[[doc:lcl/menus/tmemo.html|TMemo]]
 
 
 
== TToggleBox ==
 
 
 
[[Image:ttogglebox.png]]
 
 
 
Puts togglebox in the form.
 
[[doc:lcl/stdctrls/ttogglebox.html|TToggleBox]]
 
 
 
== TCheckBox ==
 
 
 
[[Image:tcheckbox.png]]
 
 
 
Allow the user to switch them on and off.
 
[[doc:lcl/stdctrls/tcheckbox.html|TCheckBox]]
 
 
 
== TRadioButton ==
 
 
 
[[Image:tradiobutton.png]]
 
 
 
Allow the user to switch them on and off. But only one can be selected.
 
[[doc:lcl/stdctrls/tradiobutton.html|TRadioButton]]
 
 
 
== TListBox ==
 
 
 
[[Image:tlistbox.png]]
 
 
 
Display list. User can select an entry by clicking on it.
 
[[doc:lcl/stdctrls/tlistbox.html|TListBox]]
 
 
 
== TComboBox ==
 
 
 
[[Image:tcombobox.png]]
 
 
 
Display list. User can select an entry by clicking on it.
 
[[doc:lcl/stdctrls/tcombobox.html|TComboBox]]
 
 
 
== TScrollBar ==
 
 
 
[[Image:tscrollbar.png]]
 
 
 
A ScrollBar can be used on forms for Text, Graphics, Volume Controls, and the like. The slider  is moved via user interaction. The software detects the new position and performs some function.
 
[[doc:lcl/stdctrls/tscrollbar.html|TScrollBar]]
 
 
 
== TGroupBox ==
 
 
 
[[Image:tgroupbox.png]]
 
 
 
It acts as a presentational container for other control.
 
[[doc:lcl/stdctrls/tgroupbox.html|TGroupBox]]
 
 
 
== TStaticText ==
 
 
 
[[Image:tstatictext.png]]
 
 
 
[[doc:lcl/stdctrls/tstatictext.html|TStaticText]]
 
 
 
== TRadioGroup ==
 
 
 
[[Image:tradiogroup.png]]
 
 
 
[[doc:lcl/extctrls/tradiogroup.html|TRadioGroup]]
 
 
 
== TCheckGroup ==
 
 
 
[[Image:tcheckgroup.png]]
 
 
 
To edit CheckGroup contents double-click  on the icon on the form. It opens a CheckGroup Editor.
 
[[doc:lcl/extctrls/tcheckgroup.html|TCheckGroup]]
 
 
 
== TPanel ==
 
 
 
[[Image:tpanel.png]]
 
 
 
Puts panel in the form. It acts as a presentational container for other control.
 
[[doc:lcl/extctrls/tpanel.html|TPanel]]
 
 
 
== TActionList ==
 
 
 
[[Image:tactionlist.png]]
 
 
 
To edit actionlist contents double-click on the icon on the form. It opens the Action List Editor.
 
[[doc:lcl/actnlist/tactionlist.html|TActionList]]
 

Latest revision as of 01:06, 1 November 2021

English (en) español (es) suomi (fi) français (fr) 日本語 (ja) polski (pl) русский (ru)

The Standard tab on the Component Palette lists elementary components for use on a form.

size="100%"

Icon Component Description Online Docs
tmainmenu.png TMainMenu menu at the top of the form Link
tpopupmenu.png TPopupMenu context menu that may popup on predefined events, usually by a click with the right mouse button Link
tbutton.png TButton displays a button with a caption. Link
tlabel.png TLabel descriptive text field, not editable Link
tedit.png TEdit single-line text edit field Link
tmemo.png TMemo multi-line text edit field Link
ttogglebox.png TToggleBox two-state labeled button. Similar to TButton, but stays pressed after the click and is released by the next click. Link
tcheckbox.png TCheckBox ON/OFF button indicating the ON state by means of a checkmark Link
tradiobutton.png TRadioButton ON/OFF button to be used in conjunction with other TRadioButtons such that only one of them can be ON. Link
tlistbox.png TListBox shows a list of strings from which the user can make a selection Link
tcombobox.png TComboBox combination of an edit field with a connected drop down list to choose from. Link
tscrollbar.png TScrollBar allows the user to scroll the content of an associated control by moving an slider. Link
tgroupbox.png TGroupBox container that allows several objects to be grouped physically and conceptually Link
tradiogroup.png TRadioGroup 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 Link
tcheckgroup.png TCheckGroup group of TCheckBox items physically and logically grouped together on a container component. Link
tpanel.png TPanel visible container for other components Link
tframe.png TFrame container for components that can be embedded into forms or other frames Link
tactionlist.png TActionList list of TActions to centralize menu/mouse/keyboard handling Link

See also

Component Palette
Standard - Additional - Common Controls - Dialogs - Data Controls - Data Access - System - Misc - LazControls - RTTI - SQLdb - Pascal Script - SynEdit - Chart - IPro