From RAD Studio API Documentation
Jump to: navigation, search



TCustomButtonedEdit = class(TCustomEdit)


class PASCALIMPLEMENTATION TCustomButtonedEdit : public Vcl::Stdctrls::TCustomEdit


Type Visibility Source Unit Parent
class public
Vcl.ExtCtrls Vcl.ExtCtrls


TCustomButtonedEditis the base class for edit controls that contain embedded buttons.

A TCustomButtonedEdit is the base class for edit controls that have associated buttons. This class introduces new properties for managing buttons that sit to the sides of the edit control.

This class contains an Images property that holds an TImagelist that displays on the LeftButton and RightButton to indicate state. LeftButton and RightButton properties contain indexes into the Images TImageList to specify which image to use for which state. OnLeftButtonClick and OnRightButtonClick are event handlers for the buttons.

Do not create instances of TCustomButtonedEdit. Use TCustomButtonedEdit as a base class when declaring edit controls that include buttons. Properties and methods of TCustomButtonedEdit provide basic behavior that descendant classes inherit as well as behavior that components can override to customize their behavior.

See Also