Difference between revisions of "Standard tab"
Line 26: | Line 26: | ||
[[Image:tbutton.png]] | [[Image:tbutton.png]] | ||
− | Puts a button in the form. The user will be able to 'click' on this button and | + | 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]] | [[doc:lcl/stdctrls/tbutton.html|TButton]] |
Revision as of 13:13, 4 June 2008
See also Lazarus Tutorial#The Component Palette
Component Palette Standard tab
TMainMenu
Puts a standard menu bar in the form.
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.
To see the Menu Editor, right-click or double-click on the Main Menu icon on your Form. TMainMenu
TPopupMenu
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
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.
TLabel
Puts text in the form. TLabel
TEdit
Allows the user to input text. TEdit
TMemo
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.
TToggleBox
Puts togglebox in the form. TToggleBox
TCheckBox
Allow the user to switch them on and off. TCheckBox
TRadioButton
Allow the user to switch them on and off. But only one can be selected. TRadioButton
TListBox
Display list. User can select an entry by clicking on it. TListBox
TComboBox
Display list. User can select an entry by clicking on it. TComboBox
TScrollBar
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
It acts as a presentational container for other control. TGroupBox
TStaticText
TRadioGroup
TCheckGroup
To edit CheckGroup contents double-click on the icon on the form. It opens a CheckGroup Editor. TCheckGroup
TPanel
Puts panel in the form. It acts as a presentational container for other control. TPanel
TActionList
To edit actionlist contents double-click on the icon on the form. It opens the Action List Editor. TActionList