Sign in Join
FPDoc Onlineexperiment

TCustomMaskEdit.SetCharCase procedure

Member of TCustomMaskEditprotectedIn unit MaskEdit

Sets the value in the CharCase property.

Declaration

pascal
procedure SetCharCase(Value: TEditCharCase); override

Arguments

Value

New value for the property.

Description

SetCharCase is an overridden procedure used to set the value in the CharCase property.

SetCharCase is modified in TCustomMaskEdit to ensure that the correct value is used when an edit mask has been assigned in the control. CharCase is set to the value ecNormal when IsMasked contains True. It is assumed that case conversions are performed according to the rules for the edit mask.

When IsMasked is False, the property is set to the content in the Value argument.

SetCharCase calls the inherited method to store the new value for the property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.