Vcl.DBCtrls.TDBNavigator.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.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBNavigator

Description

Sets the database navigator's boundary properties all at once.

Call SetBounds when to set more than one of the navigator's boundary properties at a time. The Left, Top, Width, and Height properties are set to the values passed in the ALeft, ATop, AWidth, and AHeight parameters, respectively. SetBounds arranges the buttons on the navigator to fit within the boundaries.

Although you can always set the individual boundaries, using SetBounds makes several changes at once without rearranging the buttons for each change.

See Also