The IntegerEdit component is used to enter integer values in the specified range.
The component has different properties available in the design mode and in the web form execution mode.
name. Component name.
allowEmpty. Indicates whether empty value can be set in the component.
color. Component background color.
coordinate. Coordinate of the top left corner of the component. Coordinates can be specified in pixels or percents relative to parent component sizes. The property is available if the position property is set to absolute.
flexGrow. The property determines what proportion of container free space can be allocated for the component. If all components are set to 1, container free space is uniformly distributed between the components. If one of the components is set to 2, it occupies two times more free space, and so on. The property is available if the position property is set to relative.
enabled. Indicates whether the component is available for the user.
font. Component text font options. If required, one can load custom fonts.
hint. Tooltip text.
maxValue. Maximum value of the number that can be set in the component.
minValue. Minimum value of the number that can be set in the component.
padding. Distance between component borders and component contents. Paddings can be specified in pixels or percents relative to component sizes.
position. Method of component positioning on web form or inside container component. The property is set to absolute by default, the component has fixed position and size determined by the coordinate and size properties. If the property is set to relative, component position and sizes change depending on container component sizes. The coordinate property will be unavailable. Component position will be determined by the flexDirection, aligments, justifyContent properties of the parent component, and component sizes will change if the size property is set in percents.
readOnly. Indicates whether component value can change. The default value is False, and component value can be changed. If the value is True, one cannot enter component value using keyboard or buttons, but one can value using the Fore language.
showHint. Indicates whether a tooltip is displayed when the cursor is hovered over the component.
size. Component sizes. Sizes can be specified in pixels or percents relative to parent component sizes.
stepSize. Value change step using buttons in the component. The step is equal to 1 by default.
thousandSeparator. Indicates whether value is displayed using thousands separator. The default value is False, and thousands separator is not used. If the value is True, thousands separator specified in operating system regional settings is used to display value.
value. Value displayed in the component on web form startup.
visible. Indicates whether the component is visible on running web form.
Color. Component background color.
Enabled. Indicates whether the component is available for the user.
MaxValue. Maximum value of the number that can be set in the component.
MinValue. Minimum value of the number that can be set in the component.
Text. Text displayed in the component.
Valid. Indicates whether the specified component value is correct.
Value. Value displayed in the component.
Visible. Indicates whether the component is available for the user.
The component has the onValueChanged event that occurs on changing component value.
See also: