NumericSpin

This example shows the %%PEIntegerOnly? annotation being used with a numeric spin control. The input range is 0-20 in increments of 2. When %%PEIntegerOnly? is set to True , the control does not allow a decimal point to be typed in.

<%%PEEditorType("NumericSpin"),_
 %%PEMaxValue("20"),_
 %%PEMinValue("0"),_
 %%PEIncrement(“2”),_
 %%PEIntegerOnly?("True")> _
Parameter Rule testNum As Number = 0