EditBtn unit
Implements specialized edit controls with attached speed buttons.
editbtn.pas contains specialized edit controls with an attached
speed button used to perform an action when it is clicked. The following
components are added to the Lazarus IDE Component Palette:
Misc tab
- TEditButton
- TFileNameEdit
- TDirectoryEdit
- TDateEdit
- TTimeEdit
- TCalcEdit
editbtn.pas is part of the LCL (Lazarus Component Library).
Classes and records
TCalcEdit | class | Implements an numeric edit control with a button to display a calculator dialog. |
TCustomControlFilterEdit | class | Base class for edit controls which filter data in an associated control like TListbox or TTreeview. |
TCustomEditButton | class | TCustomEditButton - base class for TEditButton, an Edit Box with attached Speed Button. |
TDateEdit | class | Implements a control with an edit box for a date value and an attached speed button to display a date selection (calendar) dialog. |
TDirectoryEdit | class | TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that summons a Directory Open dialog. |
TEbEdit | class | Implements the embedded edit control used in TCustomEditButton. |
TEditButton | class | Implements a grouped edit control with both an Edit and a Button. |
TEditSpeedButton | class | Implements a speed button used in TCustomEditButton. |
TFileNameEdit | class | TFileNameEdit - an EditBox to hold a filename, with an attached SpeedButton that summons a File Open dialog. |
TTimeEdit | class | Implements a control used to edit time values. |
Procedures and functions
Register | procedure | Registers components in the unit for use in the Lazarus IDE. |
Types
TAcceptDateEvent | procedure type | TAcceptDateEvent - generic event handling method for accepting a date from a dialog. |
TAcceptFileNameEvent | procedure type | TAcceptFileNameEvent - generic event handling method to accept a filename from a dialog. |
TAcceptTimeEvent | procedure type | Specifies an event handler used to validate and accept/reject a time value. |
TAcceptValueEvent | procedure type | Specifies an event handler signalled when a calculator dialog has been used to accept or reject a value. |
TCheckItemEvent | procedure type | Specifies an event handler is to determine if the specified Item is checked. |
TCustomDateEvent | procedure type | Specifies an event handler used to examine or alter a String with a date value. |
TCustomTimeEvent | procedure type | Specifies an event handler used to generate an arbitrary time value. |
TDateOrder | enumeration | Controls the display order for Month, Day, and Year portions of a date value. |
TDateRangeCheckEvent | procedure type | Specifies an event handler signalled prior to validating a date for it lower and upper limits. |
TDialogKind | enumeration | Enumerated type representing dialog styles used in TFileNameEdit. |
TFilterItemEvent | procedure type | Specifies an event handler used to filter data items in TCustomControlFilterEdit. |
TFilterItemExEvent | procedure type | Specifies an event handler used to filter data items in TCustomControlFilterEdit. |
TFilterStringOption | enumeration | String filter options which can be enabled in controls. |
TFilterStringOptions | set | Set type used to store values from the TFilterStringOption enumeration. |
Constants
NullDate | constant | Represents a TDateTime type without date and time values. |
NullTime | constant | Represents a TDateTime type without a time value assigned. |
ResBtnCalculator | constant | Resource name for the default glyph used on the Button in TCalcEdit. |
ResBtnCalendar | constant | Resource name for the default glyph used on the Button in TDateEdit. |
ResBtnFileOpen | constant | Resource name for the default glyph used on the Button in TFileNameEdit. |
ResBtnListFilter | constant | Resource name for the default glyph used on the Button in TCustomControlFilterEdit. |
ResBtnSelDir | constant | Resource name for the default glyph used on the Button in TDirectoryEdit. |
ResBtnTime | constant | Resource name for the default glyph used on the Button in TTimeEdit. |
Uses
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
