TextCase

Applies to

EditMask, MultiLineEdit, SingleLineEdit controls

Description

The TextCase property lets you constrain the case of text entered by the user. The text can be displayed as the user types it, as all lowercase, or as all uppercase.

Usage


In a painter

StepsTo select the case used to display text entered by users:

  1. Select the desired text case from the TextCase drop-down list on the General tag page in the control’s Properties view.


In scripts

The TextCase property takes a value of the TextCase enumerated datatype. The following line sets the case for a MultiLineEdit to all uppercase:

mle_1.TextCase = Upper!