Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.DrawTextBiDiModeFlagsReadingOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DrawTextBiDiModeFlagsReadingOnly: Longint;

C++

int __fastcall DrawTextBiDiModeFlagsReadingOnly();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Returns the text flag to add that indicates whether the control's text should read from right to left.

Call DrawTextBiDiModeFlagsReadingOnly to determine whether the DT_RTLREADING flag should be added when calling the Windows API DrawText or when assigning the TextFlags property of a canvas.

DrawTextBiDiModeFlagsReadingOnly returns the DT_RTLREADING flag or 0, depending on the value returned from the UseRightToLeftReading method.

To obtain the text flags that indicate the bidirectional alignment as well as text direction for the control, use DrawTextBiDiModeFlags instead.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance