Classes

Message XbpActiveXControl():xbeP_Resize Foundation

Size of the ActiveX control has changed.

Syntax
:resize := {| aOldSize, aNewSize, self | ... }
:resize ( <aOldSize>, <aNewSize> ) --> self
Parameters
<aOldSize> := { nXsizeOld, nYsizeOld }
<aOldSize> contains the size of the control before it was changed.
<aNewSize> := { nXsizeNew, nYsizeNew }
<aNewSize> contains the current size of the control.
Return

This method returns the object executing the method (self).

Description

The xbeP_Resize event is generated after the size of an ActiveX control has been changed. Two arrays are passed that specify the size of the object in the x and y directions before and after the ActiveX control is resized. The first array <aOldSize> contains the old size and the second array <aNewSize> contains the new or current size.

The xbeP_Resize is generated only if the ActiveX control displays a window. Otherwise, the flag value OLECTRL_INVISIBLEATRUNTIME is set in the :controlFlags() instance variable.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.