Vcl.OleCtrls.TOleControl.SetBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer); override;

C++

virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

Description

Sets the boundaries of the ActiveX control.

Use SetBounds to set the boundaries of the ActiveX control.

ALeft, ATop, AWidth, and AHeight are the x-coordinate of the upper-left corner, the y-coordinate of the upper-left corner, the width and the height of the ActiveX control.