Custom Scroll Bar Custom Scroll Bar: the base type from which Control Bars are derived Scroll Bar Scroll Bar for Text Box or Memo. Can be none, horizontal, vertical or both. May appear automatically when the text goes outside the window.
Scroll codes may be line up or down, page up or down, track the mouse, top of panel, bottom of panel, or end scroll.
Custom Group Box Custom Group Box: the base type from which Group Box and related components are derived. Group Box Group Box. Allows a number of objects to be grouped physically and conceptually on the form; they can be moved around together and have certain properties in common.
They share the same scope for several variables, which are hidden from objects outside the group.
They can interact with one another, for example radio buttons will be mutually exclusive within the group.
ComboBox Style ComboBox Style: may be Simple, a Drop-Down or a drop-down list, or some version drawn by the Owner Custom Combo Box Custom Combination Box: the base class from which Combo Box is derived. Combo Box Combo box. A simple combination of text box for free text entry, and a drop-down list allowing one of several options to be chosen. Custom List Box Custom List Box: the base type from which List Box is derived. List Box List Box: a simple drop-down list from which a choice is made Custom Edit Custom Edit: the base type from which Edit Box is derived. Max Length Max Length: maximum length allowed for text string Modified Modified: has the text been modified since creation? Password Character Password Character: the character which appears in the Edit box replacing and masking the actual character typed. Typically used in password input, to prevent the typed characters from being seen by passers-by or casual observers (or even malicious observers!) Sel Length Sel Length: the length (in characters) of the text that has been selected for editing Sel Start Sel Start: the index of the character from which selection (for editing) begins Sel Text Sel Text: the text of the actual string that has been selected for editing Text Text: the character string contained in the Edit Box Custom Memo Custom Memo: the base type from which Memo is derived Create Create the Custom memo widget Destroy Destroy the CustomMemo widget when you have finished with it Lines Lines: an array of strings (representing single lines of characters) which contains the textual material held or being entered in the Memo. Word Wrap Word Wrap: a logical flag to show whether or not word-wrap is enabled, ie if a word nears the end of a line and is going to be too long for the line, it is wrapped down to the next line Edit Box Edit Box: for entry or display of a single line of text.
Inherits most of its properties from TCustomEdit
Action Action: the task to be performed when the component is activated by a mouse movement or key press.
This should point to a user-defined procedure or function or an item on an action list.
Align Align: Is used to align a Control component to a border of a parent control. Anchors Anchors: keep the edges of a control component a defined distance from certain borders of the parent control. Constraints Constraints: Sets the minimum and maximum sizes for a control.
If a control is resized the new dimensions are always within the ranges given here.
You should take care when setting these options that they do not conflict with the Anchors and Align settings.
Char Case Character Case: the default character case (Upper or Lower case) to be used in the Edit Box. Can, of course, be over-ridden by use of the [shift] key. Enabled Enabled: flag to determine whether or not the control is able to be used On Change - Action On Change - Action to be taken when any of the properties of the control change (especially the textual content).
User-defined Procedure
On Change Bounds - Action On Change Bounds - Action to be taken if any of the bounds of the control are changed.
User-defined Procedure.
On Click - Action On Click - Action to be taken when the mouse button is clicked with the cursor over this control. User-defined Procedure On Entry - Action On Entry - Action to be taken when the mouse cursor or text cursor enters the bounds of this control. User-defined Procedure On Exit - Action On Exit - Action to be taken when the mouse or text cursor leaves this control or when focus is relinquished. User-defined Procedure On Key Down - Action On Key Down - Action to be taken if a key is down while focus is in this control. Subtly different from On Key Pressed - for example the key might already have been down when focus entered this control, whereas On Key Pressed requires the key to become pressed while focus is in the control.
User-defined Procedure
On Key Press - Action On Key Press - Action to be taken if a key becomes pressed while focus is in this control. Subtly different from On Key Down, which simply responds to a key being down, whether or not it was already down when focus was given to this control. On Key Press requires that a key becomes pressed while focus in in this control.
User-defined Procedure
On Key Up - Action On Key Up - Action to be taken if a key is up (ie not pressed) while focus is in this control.
User-defined Procedure
On Mouse Down - Action On Mouse Down - Action to be taken if the mouse button is down while focus is in this control.
User-defined Procedure
On Mouse Move - Action On Mouse Move - Action to be taken if the mouse cursor moves while focus is in this control.
User-defined Procedure
On Mouse Up - Action On Mouse Up - Action to be taken if the mouse button is up (not pressed) while focus is in this control.
User -defined Procedure
On Resize - Action On Resize - Action to be taken when the control is resized. Might include re-alignment of text or selection of a different font size etc.
User-defined Procedure
Password Character Password Character - defines which character should appear in the edit box when a password is being typed.
A security feature to prevent casual onlookers fom seeing the password that is being entered.
Most often an asterisk * but could be any user-selected character.
Popup Menu Popup Menu - a menu that appears when the right mouse button is clicked over this control Read Only Read Only - a flag that signifies that users can view the contents of this control but are not allowed to modify it. Show Hint Show Hint - allows a small box containing helpful text to be displayed while the mouse cursor 'hovers' over the control Text Text - the actual character string that represents the contents of the control. May be edited if ReadOnly property is not set Visible Visible - determines whether or not the control can be seen Memo Box Memo box: for entry or display of multiple lines of text.
Inherits most of its properties from TCustomMemo
Lines Lines: an array of strings (representing single lines of characters) which contains the textual material held or being entered in the Memo. Max Length Max Length: the maximum permitted length for the textual material in the memo Word Wrap Word Wrap: a logical flag to show whether or not word-wrap is enabled, ie if a word nears the end of a line and is going to be too long for the line, it is wrapped down to the next line Custom Label Custom label: the base type from which Label is derived. Label Label: a brief text label to be placed in the Form near any object that needs to be identified.
Can also be used for displaying text messages, eg
...
Label.Caption := 'Please select one of these options';
...
or the message may be changed dynamically, eg
var Lies: boolean;
...
if (Lies=true) then Label.caption := 'Lies are true'
else Label.caption := 'Lies are false';
...
Align Align: Is used to align a Control component to a border of a parent control. Anchors Anchors: keep the edges of a control component a defined distance from certain borders of the parent control. Caption Caption - the text string that represents the contents of the label Constraints Constraints: Sets the minimum and maximum sizes for a control.
If a control is resized the new dimensions are always within the ranges given here.
You should take care when setting these options that they do not conflict with the Anchors and Align settings.
On Change Bounds On Change Bounds - Action to be taken if any of the bounds of the control are changed.
User-defined Procedure.
On Click On Click - Action to be taken when the mouse button is clicked with the cursor over this control. User-defined Procedure On Double-click On Double-click - Action to be taken when the mouse button is double-clicked with the cursor over this control.
User-defined Procedure
On Mouse Down - Action On Mouse Down - Action to be taken if the mouse button is down while focus is in this control.
User-defined Procedure
On Mouse Entry On Mouse Entry - Action to be taken when the mouse cursor enters the bounds of this control. User-defined Procedure On Mouse Leaving On Mouse Leaving - Action to be taken when the mouse cursor leaves the boundaries of this control. User-defined Procedure. On Mouse Movement - Action On Mouse Movement - Action to be taken if the mouse cursor moves while within the bounds of this control. User-defined Procedure On Mouse Up On Mouse Up - Action to be taken if the mouse button is up while the cursor is over this control.
Implies that the mouse button was previously down and has been released. The case where the cursor enters the control but the mouse button has not yet been pressed is covered by OnMouseEnter.
User-defined Procedure
On Resize - Action On Resize - Action to be taken when the control is resized. Might include re-alignment of text or selection of a different font size etc. User-defined Procedure Visible Visible - determines whether or not the control can be seen Word Wrap Word Wrap: a logical flag to show whether or not word-wrap is enabled, ie if a word is near the end of a line and is going to be too long for the line, it is wrapped down to the next line Button Control Button Control: Base Type for the Button (including Radio Button) and Check Box types ;
processes the detection of clicks and changes, and the checked/unchecked state of the component.
A rectangular button, whose shape can be specified, and which usually has an informative caption.
It is designed to be pressed or selected by the mouse cursor, and usually initiates some activity with the OnClick Event.
Properties can include [Checked], [Click] (mouse clicks on button) and the actions to be taken on a change in a property.
Typically, clicking on the box will cause the box to be checked (or unchecked if it is already checked) as well as initiating any other action associated with the box.
The programmer is responsible for ensuring that the appropriate actions and changes in checked status are performed.
Check Box State Check Box State: a set of constants defining the possible states of a Check Box -
Checked, meaning it has been selected;
Unchecked meaning irt has not been selected or has been deselected;
Grayed meaning it has been rendered inoperative or unable to be selected and appears grey or faintly visible on the Form
Custom Check Box Custom Check Box: the base class from which the Check Box is derived. Check Box Check Box: 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.
Toggles between being checked and unchecked on successive clicks of the mouse, and usually initiates some action associated with OnChecked.
Action Action: the task to be performed when the component is activated by a mouse movement or key press.
This should point to a user-defined procedure or function or an item on an action list.
Align Align: Is used to align a Control component to a border of a parent control. Allow Grayed Allow Grayed: a flag to show whether the box is allowed to be Greyed out,
ie it is still visible, but appears faint and cannot be selected or activated with the mouse cursor or keyboard
Anchors Anchors: keep the edges of a control component a defined distance from certain borders of the parent control. Caption Caption: a brief description appearing near the check box, usually stating the function of the box or what action will be taken if it becomes checked. Checked Checked - shows whether or not the box has been checked (ie selected) Constraints Constraints: Sets the minimum and maximum sizes for a control.
If a control is resized the new dimensions are always within the ranges given here.
You should take care when setting these options that they do not conflict with the Anchors and Align settings.
Enabled Enabled: flag to determine whether or not the control is able to be used Hint Hint: a short piece of pop-up text that appears if the mouse-cursor hovers over the check box;
it should give further details of the function of the box
On Change On Change - Action to be taken when any of the properties of the control change.
User-defined Procedure
On Change Bounds On Change Bounds - Action to be taken if any of the bounds of the control are changed.
User-defined Procedure.
On Click - Action On Click - Action to be taken when the mouse button is clicked with the cursor over this control.
User-defined Procedure
On Entry - Action On Entry - Action to be taken when the mouse cursor or text cursor enters the bounds of this control. User-defined Procedure On Exit - Action to be taken when the mouse or text cursor leaves this control or when focus is relinquished.
User-defined Procedure
On Mouse Down - Action On Mouse Down - Action to be taken if the mouse button is down while focus is in this control.
User-defined Procedure
On Mouse Move - Action On Mouse Move - Action to be taken if the mouse cursor moves while focus is in this control.
User-defined Procedure
On Mouse Up - Action On Mouse Up - Action to be taken if the mouse button is up (not pressed) while focus is in this control.
User -defined Procedure
On Resize - Action On Resize - Action to be taken when the control is resized. Might include selection of a different font size etc.
User-defined Procedure
Popup Menu Popup Menu - a menu that appears when the right mouse button is clicked over this control Show Hint Show Hint: a flag to show whether or not the hint is to be shown when the mouse cursor hovers over the box. Visible Visible - determines whether or not the control can be seen Toggle Box Toggle Box: a labelled box capable of being checked (when it becomes recessed) or unchecked (when it is raised).
The 'state' property can be tested for cbUnchecked or cbChecked and actions can be associated with mouse clicks or other movements
Radio Button Radio Button: a button which works in conjunction with other Radio Buttons in a mutually exclusive manner - if one button of a group is selected, none of the others in that group can be selected.
Several radio buttons are usually grouped together in a Group Box or Radio Group. When a button is selected, the actions associated with that button are initiated.
Custom Static Text Custom Static Text: the base type from which Static Text is derived. Static Text Static Text: a box to display a Constant Text String Align Align: Is used to align a Static Text box to a border of a parent control. Anchors Anchors: keep the edges of a static text box a defined distance from certain borders of the parent control. Caption Caption: the text that actually appears with the Static Text Box Constraints Constraints: Sets the minimum and maximum sizes for a control.
If a control is resized the new dimensions are always within the ranges given here.
You should take care when setting these options that they do not conflict with the Anchors and Align settings.
Enabled Enabled: flag to determine whether or not the control is able to be used Popup Menu Popup Menu - a menu that appears when the right mouse button is clicked over this control Show Hint Show Hint - allows a small box containing helpful text to be displayed while the mouse cursor 'hovers' over the control Visible Visible - determines whether or not the control can be seen On Click - Action On Click - Action to be taken when the mouse button is clicked with the cursor over this control. User-defined Procedure On Double-click - Action On Double-click - Action to be taken when the mouse button is double-clicked while the cursor is over the control. User-defined Procedure On Mouse Down - Action On Mouse Down - Action to be taken when the mouse button is down while the cursor is over this control. User-defined Procedure On Mouse Movement - Action On Mouse Movement - Action to be taken if the mouse cursor moves within the bounds of this control. User-defined Procedure On Mouse Up - Action On Mouse Up - Action to be taken if the mouse button is up while the cursor is over this control.
Implies that the mouse button was previously down and has been released. The case where the cursor enters the control but the mouse button has not yet been pressed is covered by OnMouseEnter.
User-defined Procedure
On Mouse Entry - Action On Mouse Entry - Action to be taken when the mouse cursor enters the bounds of this control. User-defined Procedure On Mouse Leaving - Action On Mouse Leaving - Action to be taken when the mouse cursor leaves the boundaries of this control. User-defined Procedure. On Resize - Action On Resize - Action to be taken when the control is resized. Might include re-alignment of text or selection of a different font size etc. User-defined Procedure