Difference between revisions of "Standard tab"

From Lazarus wiki
Jump to navigationJump to search
Line 6: Line 6:
  
 
[[Image:tmainmenu.png]]
 
[[Image:tmainmenu.png]]
Puts a standard menu bar to form. To change the contents double-click on the icon on the form.
+
 
 +
Puts a standard menu bar in the form. To change the contents double-click on the icon in the form.
  
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tmainmenu.html TMainMenu]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tmainmenu.html TMainMenu]
Line 14: Line 15:
 
[[Image:tpopupmenu.png]]
 
[[Image:tpopupmenu.png]]
  
Puts a popup menu to 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.
+
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.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tpopupmenu.html TPopupMenu]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tpopupmenu.html TPopupMenu]
  
Line 21: Line 22:
 
[[Image:tbutton.png]]
 
[[Image:tbutton.png]]
  
Puts a button to form. The user will be able to 'click' on this button and have this execute an Event that will call a onClick -procedure (form class method) in your program.
+
Puts a button in the form. The user will be able to 'click' on this button and have this execute an Event that will call a onClick -procedure (form class method) in your program.
  
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tbutton.html TButton]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tbutton.html TButton]
Line 28: Line 29:
  
 
[[Image:tlabel.png]]
 
[[Image:tlabel.png]]
Puts text on form.
+
 
 +
Puts text in the form.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tlabel.html TLabel]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tlabel.html TLabel]
  
Line 34: Line 36:
  
 
[[Image:tedit.png]]
 
[[Image:tedit.png]]
 +
 
Allows the user to input text.  
 
Allows the user to input text.  
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tedit.html TEdit]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tedit.html TEdit]
Line 40: Line 43:
  
 
[[Image:tmemo.png]]
 
[[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.  
 
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.  
  
Line 48: Line 52:
 
[[Image:ttogglebox.png]]
 
[[Image:ttogglebox.png]]
  
Puts togglebox to form.
+
Puts togglebox in the form.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/ttogglebox.html TToggleBox]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/ttogglebox.html TToggleBox]
  
Line 54: Line 58:
  
 
[[Image:tcheckbox.png]]
 
[[Image:tcheckbox.png]]
 +
 
Allow the user to switch them on and off.
 
Allow the user to switch them on and off.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tcheckbox.html TCheckBox]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tcheckbox.html TCheckBox]
Line 60: Line 65:
  
 
[[Image:tradiobutton.png]]
 
[[Image:tradiobutton.png]]
 +
 
Allow the user to switch them on and off. But only one can be selected.
 
Allow the user to switch them on and off. But only one can be selected.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tradiobutton.html TRadioButton]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tradiobutton.html TRadioButton]
Line 66: Line 72:
  
 
[[Image:tlistbox.png]]
 
[[Image:tlistbox.png]]
 +
 
Display list. User can select an entry by clicking on it.
 
Display list. User can select an entry by clicking on it.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tlistbox.html TListBox]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tlistbox.html TListBox]
Line 72: Line 79:
  
 
[[Image:tcombobox.png]]
 
[[Image:tcombobox.png]]
 +
 
Display list. User can select an entry by clicking on it.
 
Display list. User can select an entry by clicking on it.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tcombobox.html TComboBox]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tcombobox.html TComboBox]
Line 78: Line 86:
  
 
[[Image:tscrollbar.png]]
 
[[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.  
 
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.  
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tscrollbar.html TScrollBar]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tscrollbar.html TScrollBar]
Line 91: Line 100:
  
 
[[Image:tstatictext.png]]
 
[[Image:tstatictext.png]]
 +
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tstatictext.html TStaticText]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tstatictext.html TStaticText]
  
Line 96: Line 106:
  
 
[[Image:tradiogroup.png]]
 
[[Image:tradiogroup.png]]
 +
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tradiogroup.html TRadioGroup]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tradiogroup.html TRadioGroup]
  
Line 101: Line 112:
  
 
[[Image:tcheckgroup.png]]
 
[[Image:tcheckgroup.png]]
 +
 
To edit CheckGroup contents double-click  on the icon on the form. It's open CheckGroup Editor.
 
To edit CheckGroup contents double-click  on the icon on the form. It's open CheckGroup Editor.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tcheckgroup.html TCheckGroup]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tcheckgroup.html TCheckGroup]
Line 107: Line 119:
  
 
[[Image:tpanel.png]]
 
[[Image:tpanel.png]]
Puts panel to form. It acts as a presentational container for other control.
+
 
 +
Puts panel in the form. It acts as a presentational container for other control.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tpanel.html TPanel]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tpanel.html TPanel]
  
Line 113: Line 126:
  
 
[[Image:tactionlist.png]]
 
[[Image:tactionlist.png]]
 +
 
To edit actionlist contents double-click on the icon on the form. It's open Action List Editor.
 
To edit actionlist contents double-click on the icon on the form. It's open Action List Editor.
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tactionlist.html TActionList]
 
[http://lazarus-ccr.sourceforge.net/docs/lcl/menus/tactionlist.html TActionList]

Revision as of 13:01, 4 March 2008

See also Lazarus Tutorial#The Component Palette

Component Palette Standard tab

TMainMenu

tmainmenu.png

Puts a standard menu bar in the form. To change the contents double-click on the icon in the form.

TMainMenu

TPopupMenu

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

TButton

tbutton.png

Puts a button in the form. The user will be able to 'click' on this button and have this execute an Event that will call a onClick -procedure (form class method) in your program.

TButton

TLabel

tlabel.png

Puts text in the form. TLabel

TEdit

tedit.png

Allows the user to input text. TEdit

TMemo

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.

TMemo

TToggleBox

ttogglebox.png

Puts togglebox in the form. TToggleBox

TCheckBox

tcheckbox.png

Allow the user to switch them on and off. TCheckBox

TRadioButton

tradiobutton.png

Allow the user to switch them on and off. But only one can be selected. TRadioButton

TListBox

tlistbox.png

Display list. User can select an entry by clicking on it. TListBox

TComboBox

tcombobox.png

Display list. User can select an entry by clicking on it. TComboBox

TScrollBar

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

TGroupBox

tgroupbox.png

It acts as a presentational container for other control. TGroupBox

TStaticText

tstatictext.png

TStaticText

TRadioGroup

tradiogroup.png

TRadioGroup

TCheckGroup

tcheckgroup.png

To edit CheckGroup contents double-click on the icon on the form. It's open CheckGroup Editor. TCheckGroup

TPanel

tpanel.png

Puts panel in the form. It acts as a presentational container for other control. TPanel

TActionList

tactionlist.png

To edit actionlist contents double-click on the icon on the form. It's open Action List Editor. TActionList