Vcl.StdCtrls.TCustomComboBox.CharCase
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 | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomComboBox |
Description
Determines the case of the text in the combo box.
Use CharCase to force the contents of the combo box into upper or lower case.
When CharCase is set to ecLowerCase or ecUpperCase, the case of characters is converted as the user types into the combo box. Changing the CharCase property changes the actual text, not just its appearance; case information is lost and cannot be recaptured by changing CharCase back to ecNormal.