TcxButtonEdit Object

Applies to TestComplete 15.69, last modified on November 13, 2024

The TcxButtonEdit component is an edit box with one or more buttons in it.

The text displayed in the edit box is specified by the Text property. To enable the component for accepting input according to a custom mask, use the Properties.MaskKind and Properties.EditMask properties. The Properties.MaskKind property specifies the mask type and the Properties.EditMask property specifies the mask itself.

To modify the collection of buttons embedded in the component, use the Properties.Buttons property. For each button you can specify caption, image, visibility and other properties. One of the buttons is called default (there can be only one of these buttons in the collection). The default button differs from other buttons in that a user can press it using the shortcut specified by the Properties.ClickKey property.

Using the Properties property, you can also adjust other specific attributes of the component, such as the maximum acceptable text length, the text case, a list of automatically completed values, etc.

The TcxButtonEdit object raises a number of events that you can process in your scripts. For example, you can create an event handler for the OnButtonClick event to process clicks on the component’s embedded buttons.

TcxButtonEdit Properties

TcxButtonEdit Methods

TcxButtonEdit Events

See Also

User Forms
TcxButtonEditProperties Object

Highlight search results