2014-05-16

← Older revision

Revision as of 08:03, 16 May 2014

Line 8:

Line 8:

 

== [[doc:lcl/menus/tmainmenu.html|TMainMenu]] ==

 

== [[doc:lcl/menus/tmainmenu.html|TMainMenu]] ==

 

 



[[Image:tmainmenu.png]]

+

[[Image:tmainmenu.png
]]

 

+

 

 

+

Usage:[[TMainMenu
]]

 

 

 

Puts a standard menu bar in the form.

 

Puts a standard menu bar in the form.

Line 18:

Line 20:

 

== [[doc:lcl/menus/tpopupmenu.html|TPopupMenu]] ==

 

== [[doc:lcl/menus/tpopupmenu.html|TPopupMenu]] ==

 

 



[[Image:tpopupmenu.png]]

+

[[Image:tpopupmenu.png
]]

 

+

 

 

+

Usage:[[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.

 

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.

Line 24:

Line 28:

 

== [[doc:lcl/stdctrls/tbutton.html|TButton]] ==

 

== [[doc:lcl/stdctrls/tbutton.html|TButton]] ==

 

 



[[Image:tbutton.png]]

+

[[Image:tbutton.png
]]

 

+

 

 

+

Usage:[[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.

 

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.

Line 30:

Line 36:

 

== [[doc:lcl/stdctrls/tlabel.html|TLabel]] ==

 

== [[doc:lcl/stdctrls/tlabel.html|TLabel]] ==

 

 



[[Image:tlabel.png]]

+

[[Image:tlabel.png
]]

 

+

 

 

+

Usage:[[TLabel
]]

 

 

 

Puts a brief text label on the Form near any object that needs to be identified.

 

Puts a brief text label on the Form near any object that needs to be identified.

Line 36:

Line 44:

 

== [[doc:lcl/stdctrls/tedit.html|TEdit]] ==

 

== [[doc:lcl/stdctrls/tedit.html|TEdit]] ==

 

 



[[Image:tedit.png]]

+

[[Image:tedit.png
]]

 

+

 

 

+

Usage:[[TEdit
]]

 

 

 

For display or user-entry of a single line of text..

 

For display or user-entry of a single line of text..

Line 42:

Line 52:

 

== [[doc:lcl/stdctrls/tmemo.html|TMemo]] ==

 

== [[doc:lcl/stdctrls/tmemo.html|TMemo]] ==

 

 



[[Image:tmemo.png]]

+

[[Image:tmemo.png
]]

 

+

 

 

+

Usage:[[TMemo
]]

 

 

 

Memos are places where you can put multiple 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 multiple lines of text. Use this if you want to allow your user to enter messages or notes, etc.

Line 48:

Line 60:

 

== [[doc:lcl/stdctrls/ttogglebox.html|TToggleBox]] ==

 

== [[doc:lcl/stdctrls/ttogglebox.html|TToggleBox]] ==

 

 



[[Image:ttogglebox.png]]

+

[[Image:ttogglebox.png
]]

 

+

 

 

+

Usage:[[TToggleBox
]]

 

 

 

Puts togglebox in the form: a labelled box capable of being checked (when it becomes recessed) or unchecked (when it is raised).

 

Puts togglebox in the form: a labelled box capable of being checked (when it becomes recessed) or unchecked (when it is raised).

Line 56:

Line 70:

 

== [[doc:lcl/stdctrls/tcheckbox.html|TCheckBox]] ==

 

== [[doc:lcl/stdctrls/tcheckbox.html|TCheckBox]] ==

 

 



[[Image:tcheckbox.png]]

+

[[Image:tcheckbox.png
]]

 

+

 

 

+

Usage:[[TCheckBox
]]

 

 

 

CheckBox : a small box which can contain a check mark to indicate that it has been selected by a mouse click. May be associated with a ''Caption'' that describes its function.

 

CheckBox : a small box which can contain a check mark to indicate that it has been selected by a mouse click. May be associated with a ''Caption'' that describes its function.

Line 62:

Line 78:

 

== [[doc:lcl/stdctrls/tradiobutton.html|TRadioButton]] ==

 

== [[doc:lcl/stdctrls/tradiobutton.html|TRadioButton]] ==

 

 



[[Image:tradiobutton.png]]

+

[[Image:tradiobutton.png
]]

 

+

 

 

+

Usage:[[TRadioButton
]]

 

 

 

A button that works with other Radio Buttons in a mutually exclusive way - if one button is selected, none of the others in the group can be selected

 

A button that works with other Radio Buttons in a mutually exclusive way - if one button is selected, none of the others in the group can be selected

Line 68:

Line 86:

 

== [[doc:lcl/stdctrls/tlistbox.html|TListBox]] ==

 

== [[doc:lcl/stdctrls/tlistbox.html|TListBox]] ==

 

 



[[Image:tlistbox.png]]

+

[[Image:tlistbox.png
]]

 

+

 

 

+

Usage:[[TListBox
]]

 

 

 

Display a simple string list from which a choice is made

 

Display a simple string list from which a choice is made

Line 78:

Line 98:

 

== [[doc:lcl/stdctrls/tcombobox.html|TComboBox]] ==

 

== [[doc:lcl/stdctrls/tcombobox.html|TComboBox]] ==

 

 



[[Image:tcombobox.png]]

+

[[Image:tcombobox.png
]]

 

+

 

 

+

Usage:[[TComboBox
]]

 

 

 

A simple combination of  ''Text'' box for free text entry, and a drop-down list allowing one of several options to be chosen.

 

A simple combination of  ''Text'' box for free text entry, and a drop-down list allowing one of several options to be chosen.

Line 88:

Line 110:

 

== [[doc:lcl/stdctrls/tscrollbar.html|TScrollBar]] ==

 

== [[doc:lcl/stdctrls/tscrollbar.html|TScrollBar]] ==

 

 



[[Image:tscrollbar.png]]

+

[[Image:tscrollbar.png
]]

 

+

 

 

+

Usage:[[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.

 

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.

Line 94:

Line 118:

 

== [[doc:lcl/stdctrls/tgroupbox.html|TGroupBox]] ==

 

== [[doc:lcl/stdctrls/tgroupbox.html|TGroupBox]] ==

 

 



[[Image:tgroupbox.png]]

+

[[Image:tgroupbox.png
]]

 

+

 

 

+

Usage:[[TGroupBox
]]

 

 

 

A presentational container that allows a number of objects or controls to be grouped physically and conceptually on the form.

 

A presentational container that allows a number of objects or controls to be grouped physically and conceptually on the form.

Line 100:

Line 126:

 

== [[doc:lcl/stdctrls/tstatictext.html|TStaticText]] ==

 

== [[doc:lcl/stdctrls/tstatictext.html|TStaticText]] ==

 

 



[[Image:tstatictext.png]]

+

[[Image:tstatictext.png
]]

 

+

 

 

+

Usage:[[TStaticText
]]

 

 

 

A box to display a Constant Text String

 

A box to display a Constant Text String

Line 108:

Line 136:

 

== [[doc:lcl/extctrls/tradiogroup.html|TRadioGroup]] ==

 

== [[doc:lcl/extctrls/tradiogroup.html|TRadioGroup]] ==

 

 



[[Image:tradiogroup.png]]

+

[[Image:tradiogroup.png
]]

 

+

 

 

+

Usage:[[TRadioGroup
]]

 

 

 

A group of related but mutually exclusive radio buttons, requiring the user to select one af a set of alternatives. As one button becomes selected, the remaining buttons in the group become automatically deselected.

 

A group of related but mutually exclusive radio buttons, requiring the user to select one af a set of alternatives. As one button becomes selected, the remaining buttons in the group become automatically deselected.

Line 114:

Line 144:

 

== [[doc:lcl/extctrls/tcheckgroup.html|TCheckGroup]] ==

 

== [[doc:lcl/extctrls/tcheckgroup.html|TCheckGroup]] ==

 

 



[[Image:tcheckgroup.png]]

+

[[Image:tcheckgroup.png
]]

 

+

 

 

+

Usage:[[TCheckGroup
]]

 

 

 

A group of Check Boxes physically and logically grouped together on a form

 

A group of Check Boxes physically and logically grouped together on a form

Line 122:

Line 154:

 

== [[doc:lcl/extctrls/tpanel.html|TPanel]] ==

 

== [[doc:lcl/extctrls/tpanel.html|TPanel]] ==

 

 



[[Image:tpanel.png]]

+

[[Image:tpanel.png
]]

 

+

 

 

+

Usage:[[TPanel
]]

 

 

 

A defined rectangular area of the form into which other components can be placed to group them functionally and geographically

 

A defined rectangular area of the form into which other components can be placed to group them functionally and geographically

Line 136:

Line 170:

 

== [[doc:lcl/actnlist/tactionlist.html|TActionList]] ==

 

== [[doc:lcl/actnlist/tactionlist.html|TActionList]] ==

 

 



[[Image:tactionlist.png]]

+

[[Image:tactionlist.png
]]

 

+

 

 

+

Usage:[[TActionList
]]

 

 

 

ActionList should contain a list of standard actions associated with events on a Form; it is used to centralize the implementation of user commands, and can then be linked to the appropriate button, menu or another component. This is an Object-Oriented programming strategy to reuse the code, as opposed to the Event-Oriented approach of writing (for example) an OnClick event for each component.

 

ActionList should contain a list of standard actions associated with events on a Form; it is used to centralize the implementation of user commands, and can then be linked to the appropriate button, menu or another component. This is an Object-Oriented programming strategy to reuse the code, as opposed to the Event-Oriented approach of writing (for example) an OnClick event for each component.

Show more