Vcl.WinXCtrls.TCustomToggleSwitch.GetGlyphPosition
Delphi
procedure GetGlyphPosition(var X, Y: Integer); virtual;
C++
virtual void __fastcall GetGlyphPosition(int &X, int &Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.WinXCtrls.pas Vcl.WinXCtrls.hpp |
Vcl.WinXCtrls | TCustomToggleSwitch |
Description
Returns the position of the switch portion of the control.
GetGlyphPosition takes into account the size of the switch, the size of the caption text and the alignment.