Vcl.StdCtrls.TCustomEdit.CharCase

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CharCase: TEditCharCase read FCharCase write SetCharCase default ecNormal;

C++

__property System::Uitypes::TEditCharCase CharCase = {read=FCharCase, write=SetCharCase, default=0};

Properties

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

Description

Determines the case of the text within the edit control.

Use CharCase to force the contents of the edit control to assume a particular case.

When CharCase is set to ecLowerCase or ecUpperCase, the case of characters is converted as the user types them into the edit control. Changing the CharCase property to ecLowerCase or ecUpperCase changes the actual contents of the text, not just the appearance. Any case information is lost and can't be recaptured by changing CharCase to ecNormal.

See Also

Code Examples