Vcl.ExtCtrls.TButtonedEdit.OEMConvert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OEMConvert: Boolean read FOEMConvert write SetOEMConvert default 0;

C++

__property OEMConvert = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TButtonedEdit

Description

Determines whether characters typed in the edit control are converted from ANSI to OEM and then back to ANSI.

Vcl.ExtCtrls.TButtonedEdit.OEMConvert inherits from Vcl.StdCtrls.TCustomEdit.OEMConvert. All content below this line refers to Vcl.StdCtrls.TCustomEdit.OEMConvert.

Determines whether characters typed in the edit control are converted from ANSI to OEM and then back to ANSI.

To ensure that any characters typed in the edit control can be unambiguously converted to the OEM character set, set OEMConvert to true. This causes all characters to be converted from ANSI to OEM and then back to ANSI as they are typed. Set OEMConvert to false to avoid the overhead of this conversion when it does not matter whether the text can be unambiguously mapped to an OEM string.

OEMConvert is most useful for edit controls used to enter file names when the application does not use Unicode file names.

See Also