CWKnob
CWKnob is the top-level object for the Knob control.
Properties
ActivePointer | Specifies the CWPointer object of the active pointer. |
ArcEnd | Specifies the end angle, in degrees, for the knob axis arc. |
ArcStart | Specifies the start angle, in degrees, for the knob axis arc. |
Axis | Returns the CWAxis object for this control. |
BackColor | Specifies the background color of the control. |
BackgroundImage | Specifies an image to be used for the background of the control. |
Caption | Specifies the text that appears in the control. |
CaptionColor | Specifies the color of the caption. |
CWBindings | Returns a collection of CWBinding objects. |
Enabled | Specifies if the control responds to user input. |
Font | Specifies the font for the caption and axis labels. |
ForeColor | Specifies the foreground color in the CWSlide or CWKnob control. |
ImmediateUpdates | Specifies if the control draws new data as soon as it is available or if the form refreshes the control when it draws other controls. |
IncDecValue | Specifies the amount that the control is changed when the user clicks the increment or decrement buttons, or uses the keyboard to increment or decrement the control. |
KeyboardMode | Specifies how the control handles keyboard input from the user. |
Pointers | Returns a collection of Pointer objects. |
ReadyState | Returns the ready state. |
ScaleStyleValuePairsOnly | Specifies if only the value pairs are displayed on the axis. |
ShowFocusMode | Specifies how the control indicates that it has the focus. |
Statistics | Returns the Statistics object for this control. |
Value | Specifies the value of the active pointer. |
ValuePairIndex | Specifies the index of the value pair selected by the active pointer. |
Windowless | Specifies if the control has a window. |
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. |
Images | Provides access to the CWImage objects in the CWKnob or CWSlide control. |
ImportStyle | Imports a previously exported style. |
Refresh | Redraws the knob control. |
SetBuiltinStyle | Sets many properties of the control to represent the new style specified. |
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. |
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. |
PointerValueChanged | Generated as the value of a pointer changes from the user interface or the program. |
PointerValueCommitted | Generated when the value of a pointer has stopped changing. |
ReadyStateChange | Generated when the ready state changes. |