[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.CharCase

Indicates the case conversion applied to the value entered in the edit box for the control.

Declaration

Source position: stdctrls.pp line 418

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

Description

CharCase is a TEditCharCase property which indicates the case conversion applied to the value entered in the edit box for the control. The default value for the property is ecNormal, and indicates that no case conversion is performed.

Setting a new value for the property causes the value in Text to be converted to the specified case by calling either the UTF8LowerCase or the UTF8UpperCase routine. Text is not modified when ecNormal is assigned to the property.

The value in CharCase is used when the UTF8KeyPress is called to apply key press events for the control.

See also

TCustomComboBox.Text

  

The value in the edit box for the control.

TCustomComboBox.UTF8KeyPress

  

UTF8KeyPress converts character case if required then calls the inherited method.

UTF8LowerCase

UTF8UpperCase


Version 3.2 Generated 2024-02-25 Home