RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomEdit.OEMConvert Property

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

Pascal
property OEMConvert: Boolean;
C++
__property Boolean OEMConvert;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!