Show: Delphi C++
Display Preferences

Vcl.Controls.TAlignInfo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TAlignInfo = record
    AlignList: TList;
    ControlIndex: Integer;
    Align: TAlign;
    Scratch: Integer;
  end;

C++

struct DECLSPEC_DRECORD TAlignInfo
{
public:
    System::Classes::TList* AlignList;
    int ControlIndex;
    TAlign Align;
    int Scratch;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

TAlignInfo describes the alignment of a control within a parent.

When a child with an Align property of alCustom is aligned within its containing component, the associated OnAlignPosition event invokes a TAlignPositionEvent procedure. A TAlignInfo value is passed to this procedure.

AlignList is a list of the components within the parent that have the alCustom alignment. Each of these components will in turn invoke the OnAlignPosition event.

ControlIndex is the AlignList index of the component currently generating the OnAlignPosition event.

Align gives the alignment of that component - always alCustom.

Scratch appears to be of internal use only.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance