Vcl.StdCtrls.TImageMargins

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TPersistentSystem.TObjectTImageMargins

Delphi

TImageMargins = class(TPersistent)

C++

class PASCALIMPLEMENTATION TImageMargins : public System::Classes::TPersistent

Properties

Type Visibility Source Unit Parent
class public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls Vcl.StdCtrls

Description

Margins of image on button.

A button image may be positioned using margins. TImageMargins defines the margins of an image on a TButton. The margin values are in the Bottom, Top, Left and Right properties.

The OnChange event is triggered when a margin changes.

The TButton.ImageMargins property contains a TImageMargins instance.

See Also