Table of Contents

TTMSFNCEditButton Class

Edit control combined with a drop-down button that shows a popup when clicked.

API unit family: TMSFNCEdit Inherits from: TTMSFNCCustomControl Implements: ITMSFNCBitmapContainer

Syntax

TTMSFNCEditButton = class(TTMSFNCCustomControl, ITMSFNCBitmapContainer)

Properties

Name Description
Bitmap Bitmap displayed on the drop-down button.
BitmapContainer Shared bitmap container used to resolve named bitmap references.
BitmapName Name of the bitmap in BitmapContainer to display on the button.
Button Provides access to the embedded drop-down button control.
ButtonSize Width and height in pixels of the drop-down button.
Edit Provides access to the embedded edit control.
ModalPopup When True, the popup is shown modally, blocking input to other controls.
Popup Provides direct access to the popup window shown when the button is clicked.
PopupControl Control embedded inside the popup when the drop-down button is clicked.
Text Gets or sets the text shown in the embedded edit control.

Methods

Name Description
DropDown Opens the popup control associated with the drop-down button.

Events

Name Description
OnButtonClick Fires when the user clicks the drop-down button.