Sign in Join
FPDoc Onlineexperiment

BidiFlipAlignment function

In unit Controls

Gets the inverse alignment value when BiDiMode is enabled.

Declaration

pascal
function BidiFlipAlignment(Alignment: TAlignment; Flip: Boolean=True)
: TAlignment

Arguments

Alignment

TAlignment value converted in the method.

FlipTrue to flip the alignment value when BiDiMode is enabled.

Function result

TAlignment value adjusted for the BidiAlignment in Flip.

Description

Applies to TAlignment value taLeftJustify and taRightJustify. taCenter is always taCenter regardless of BidiMode.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.