Defines some special Edit Boxes with attached Speed Buttons TCustomEditButton - base class for TEditButton, an Edit Box with attached Speed Button DoPositionButton - perform the code to place the button in position DoButtonClick - software emulation of the OnButtonClick event ButtonWidth - the width of the SpeedButton attached to the Edit Box DirectInput - if True, direct data input to the Edit Box is permitted Glyph - the small graphic image on the SpeedButton, which ought to indicate its function NumGlyphs - the number of available glyphs OnButtonClick - event handler for a mouse click on the SpeedButton Button - the SpeedButton that is attached to the Edit Box Create - constructor for TCustomEditButton: calls inherited Create then sets some defaults and initializes some variables

Create - constructor for TCustomEditutton: calls inherited Create then sets some defaults and initializes some variables

Initializes height and width, cursor, glyph, style, checks visibility, event handler for click

TComponent.Create TCustomEdit.Create TWinControl.Create
Flat - if True, SpeedButton appears flat rather than three-dimensional ButtonOnlyWhenFocused - if True, the SpeedButton only appears when focus is given to the EditButton control TEditButton, an Edit Box with attached Speed Button TEditButton default is True TAcceptFileNameEvent - generic event handling method to accept a filename from a dialog TDialogKind - enumerated type for kind of dialog: open, save, pictureopen or picturesave TFileNameEdit - an EditBox to hold a filename, with an attached SpeedButton that will summon a File Open dialog CreateDialog - creates the dialog for file open SaveDialogResult - stores the result of the dialog RunDialog - perform the function of the dialog DialogFiles - the list of files for the dialog FileName - the name of the selected file: either the initial value placed in the Text Box, or the value selected from the dialog InitialDir - the directory from which the search starts OnAcceptFileName - event handler for accepting a filename DialogKind - should be dkOpen DialogTitle - the title to appear on the dialog DialogOptions - set of options for the open file dialog Filter - the filtering string to help search for the required file FilterIndex - index value for the filtering string TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that will summon a Directory Open dialog TSelectDirectoryDialog CreateDialog - create the Directory Open dialog GetDialogResult - find the result of the Directory Open dialog RunDialog - perform the function of the dialog The Directory selected by the dialog RootDir - the root directory for searching OnAcceptDirectory - event handler for accepting the name of a directory DialogTitle - the title that appears on the Select Directory dialog ShowHidden - if True, display names of hidden directories

ShowHidden - if True, display names of hidden directories

In Windows etc, show directories under 'Windows' and branches; in Linux etc show directories with preceding dot e.g. '.Lazarus'

TAcceptDateEvent - generic event handling method for accepting a date from a dialog TDateEdit - an EditBox to hold a date, with an attached SpeedButton that will summon a date selection (calendar) dialog Create - constructor for TDateEdit: calls inherited Create and sets defaults

Create - constructor for TDateEdit: calls inherited Create and sets defaults

Initializes dialog title, captions, display settings and default date

TCustomEditButton.Create
CalendarDisplaySettings - governs how the calendar dialog is to be displayed OnAcceptDate - event handler for accepting the date selected in the calendar dialog DialogTitle - the caption to appear on the dialog TAcceptValueEvent - generic event handling method for accepting a value from a (calculator) dialog TCalcEdit - an EditBox to hold a numeric value, with an attached SpeedButton that will summon a calculator dialog FCalcDialog - local variable holding the Calculator Dialog for use with this class RunDialog - perform the function of the dialog CalculatorLayout - normal or simple AsFloat - holds the result of the calculation as a floating-point (double precision) number AsInteger - holds the result of the calculation as an Integer OnAcceptValue - event handler for accepting the result of the calculation DialogTitle - the caption to be used for the dialog GetDefaultGlyph - find the default glyph for the SpeedButton GetDefaultGlyphName - find the name for the default glyph for the SpeedButton ButtonHint - the hint that pops up when the mouse hovers over the button DateFormatChanged - method for changing date format GetDateFormat - returns the format for the date OKCaption - the caption to be used for the OK button in the calendar dialog CancelCaption - the caption to be used for the Cancel button in the Calendar dialog DefaultToday - if True, the current date is offered as the default date (value is False by default) OnCustomDate - event handler for inserting a custom date TCustomDateEvent - generic event handler method for date-related events Hide directory name from edit

If HideDirectories is set to true, the file name editor displays only a file name, without path.

This may be useful if application allows user to select files from a fixed directory with a long path.
TCustomEditBtn sets default to True Base class for filter controls which associate to a container control like Listbox or Treeview. When the container control is connected to the filter control, the filtering happens automatically as a user enters text. When the filter is empty and does not have focus, it shows a grey "(filter)" text. An event handler to give extra conditions for filtering, in addition to the default behavior. Returns True if the passes the filter.This feature has for example enabled filtering the Options windows in Lazarus IDE, based on captions of all controls on the options pages. Has effect when items in the filtered container can be checked. Typically a CheckListbox. Called after all items are filtered. The actual filter text.Typically a user types it in the edit control but it can also be set in code. Filtering is done during idle time after the value of Filter text has changed. Items can be sorted while they are filtered. For retaining selection in the filtered control. The actual type depends on the control. Should be called when data was changed and it must be filtered again.Connects to OnIdle handler which filters the data later. Removes the filter text and shows all items in the container. Applies a new filter immediately without waiting for idle. Returns the previous filter. Method that actually filters data in the container component. Must be implementation inherited classes. Filters the data and updates the container.Does its job at once if Immediately=True. Otherwise connects to OnIdle handler which does it later.