Vcl.StdCtrls.TCustomEdit.OEMConvert

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OEMConvert: Boolean read FOEMConvert write SetOEMConvert default False;

C++

__property bool OEMConvert = {read=FOEMConvert, write=SetOEMConvert, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

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