OnResize Event

Applies to TestComplete 15.0, last modified on November 17, 2021

Occurs after the component’s size is changed.

Declaration

OnResize(Sender) Parameters
Sender [in] Required Variant

Applies To

The event applies to the following components:

TPanel

Description

The OnResize event occurs immediately after the size of the component is changed. You can create an event handler for this event to perform specific actions after the component is resized.

To determine the new size of the component, use the Height and Width properties.

Parameters

The event has the following parameter:

Sender

Contains a reference to the user form component that has raised the event.

See Also

Handling Events in User Forms
AutoSize Property
Height Property
Width Property

Highlight search results