TextBox.NumeralShapes Property (Access)
Syntax
expression .NumeralShapes
expression A variable that represents a TextBox object.
Remarks
The NumeralShapes property uses the following settings.
Setting |
Visual Basic |
Description |
---|---|---|
System |
0 |
Numeral shapes determined by the Numeral Shapes system setting. |
Arabic |
1 |
Arabic digit shapes will be used to display and print numerals. |
National |
2 |
National digit shapes will be used to display and print numerals. |
Context |
3 |
Numeral shapes determined by Unicode context rules for adjacent text. |
Example
The following example changes the NumeralShapes property for the selected control to 0 (numeral shapes will be determined by the Numeral Shapes system setting).
Public Sub ChangeNumeralShapes(ctl As Control)
ctl.NumeralShapes = 0
End Sub