CWNumEdit
CWNumEdit is the top-level object for the Numeric Edit control.
Properties
AccelInc | Determines the amount the value increments or decrements according to how long the user holds down the increment or decrement button. |
AccelTime | Specifies the number of seconds the increment or decrement button must be held down before the value is changed by the AccelInc value instead of the IncDecValue. |
Alignment | Specifies how the text within the CWNumEdit control is aligned. |
Appearance | Specifies how the edit box portion of the CWNumEdit control is drawn. |
BackColor | Specifies the frame color and the background color behind the increment and decrement buttons for the CWNumEdit control. |
BackColorText | Specifies the background color of the edit box portion of the CWNumEdit control. |
BorderStyle | Specifies the border around the edit box portion of the CWNumEdit control. |
ButtonColor | Specifies the color of the increment and decrement buttons. |
ButtonStyle | Specifies if the increment and decrement buttons have a three-dimensional style. |
CWBindings | Returns a collection of CWBinding objects. |
Discrete | Specifies if the CWNumEdit control is in discrete or continuous mode. |
DiscreteBase | Specifies the initial value to use in a discrete CWNumEdit control. |
DiscreteInterval | Specifies the interval to use in a discrete CWNumEdit control. |
Enabled | Specifies if the user is able to interact with the control. |
Font | Specifies the font the CWNumEdit control uses. |
ForeColorText | Specifies the color of the text in the CWNumEdit control. |
FormatString | Specifies the string that formats the value in the numeric edit control. |
IncDecButtonPosition | Specifies the location of the increment and decrement buttons of the CWNumEdit control. |
IncDecButtonVisible | Specifies if the increment and decrement buttons are visible. |
IncDecValue | Specifies the amount the value increments or decrements when the user clicks the increment or decrement button. |
Maximum | Specifies the maximum value of the CWNumEdit control for range checking. |
Minimum | Specifies the minimum value of the CWNumEdit control for range checking. |
Mode | Specifies how the CWNumEdit control responds to user input. |
RangeChecking | Specifies if the CWNumEdit control enforces the Minimum and Maximum property values. |
ReadyState | Returns the ready state. |
Text | Specifies the text that is displayed in the edit box. |
Value | Specifies the current value of the numeric edit control. |
Methods
AboutBox | Displays the About Box for the control. |
ControlImage | Returns an image of the entire control. |
ExportStyle | Exports the style of the Measurement Studio control to a file. |
ImportStyle | Imports a previously exported style. |
SetMinMax | Sets the Minimum and Maximum properties. |
Events
Click | Generates when you click the mouse on the control. |
CWBindingDataUpdated | Generated when the binding data is updated. |
CWBindingStatusUpdated | Generated when the status of the binding connection changes. |
DblClick | Generates when you double-click the mouse on the control. |
Error | Generated when the user enters an illegal value in the CWNumEdit control. |
IncDecButtonClicked | Generated when the user clicks the increment or decrement button on the numeric edit control. |
KeyDown, KeyUp | KeyUp generates when you release a key while the control has the input focus.
KeyDown generates when you press a key while the control has the input focus. |
KeyPress | Generated when the control has focus and you press a key. |
MouseDown, MouseMove, MouseUp | MouseDown generates when you click the mouse on the control. MouseMove generates when you move the mouse over the control. MouseUp generates when you release the mouse on the control. |
ReadyStateChange | Generated when the ready state changes. |
ValueChanged | Generated when the value of the CWNumEdit control has changed from the user interface or the program. |
ValueChanging | Generated when the value of the CWNumEdit control is about to change (the value of the control has been entered but not set). |