Unit 'StdCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomEdit.CharCase

Controls the character case applied to values entered in the control.

Declaration

Source position: stdctrls.pp line 862

public property TCustomEdit.CharCase : TEditCharCase
  read FCharCase
  write SetCharCase
  default ecNormal;

Description

CharCase is a TEditCharCase property which indicates how values in Text are converted and displayed in the control.

ecNormal
Normal letter case is applied; no conversion is applied. Use the Shift key to change the case for a character entered in the control.
ecUpperCase
Values in Text are converted to uppercase letters. Shift key state is ignored.
ecLowerCase
Values in Text are converted to lowercase letters. Shift key state is ignored.

The default value for the property is ecNormal. Changing the value for the property causes the existing values in Text to be converted to the case indicated in the new property value.

Remark: Conversions apply to the entire value in Text, and cannot be reverted.

See also

TControl.Text

  

The character string associated with the control.

TEditCharCase

  

Determines the case for text in an edit box or a combo-box control.



CT Web help

CodeTyphon Studio