GetButtonCount Event

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

Occurs when the in-place editor requests the number of buttons to embed.

Declaration

GetButtonCount(Data) Parameters
Data [in] Required Object
Result     Integer  

Description

Custom keyword test operations can use text box in-place editors with a number of embedded buttons. The GetButtonCount event is raised when the in-place editor requests the number of buttons to embed.

The default event handler used by TestComplete always returns 0, so that the in-place editor has no embedded buttons.

Parameters

The event has the following parameter:

Data

An object that provides access to the operation fields. This object contains properties that correspond to individual operation fields and whose names coincide with the field names.

Return Value

The number of buttons to be embedded into the text box.

See Also

Events Reference
GetButtonImage Event
OnButtonClick Event

Highlight search results