CATDlgSpinner description

Quick Reference

Abstract

The purpose of this article is to list the detailed properties of the widget CATDlgSpinner in Interactive Dialog Designer.

Requirements
Framework Dialog
Module DI0PANV2

CATDlgSpinner

Properties Supported Values Default Value Description
Accelerator The accelerator of the dialog object as a CATUnicodeString instance.
Editable false Set to true is the user can directly edit the content of the spinner.
Enabled true Sets whether the widget is enabled.
Format The format of the displayed value as a character string.
Help The help message displayed in the message area of the status bar.
IconFocussed The name of the icon when the dialog object is on focus
IconNormal The name of the icon in its default state
IconSelected The name of the icon when the dialog object is selected
LongHelp The message is displayed in a box when the What's This command is used.
Magnitude See CATDlgControl::CATDlgMagnitude definition. None Sets the magnitude to be used for the value displayed
MaxRange 10 The maximum value that the spinner can have.
MinRange 0 The minimal value that the spinner can have.
Precision -1 Sets the precision to be used for the value displayed
ShortHelp The short help message (or tooltip) of the dialog object.
SpinnerType Default
UserIncrement
DoublePrecision
Default Prevents from automatically incrementing or decrementing the displayed value.
StepCount 10 The number of steps between MinRange and MaxRange. Ignored for double precision spinners.
StepValue 1 The step value. Only for double precision spinners.
Text The current text or number displayed in the spinner.
Title Title or text content of the widget.
Unit See CATDlgControl::CATDlgUnit definition. None Sets the unit to be used for the value displayed
UseButtonDown true Sets whether button down is active and send notifications for a UserIncrement spinner.
UseButtonUp true Sets whether button up is active and send notifications for a UserIncrement spinner.
UseDecimalPrecision false TRUE if the precision gives the number of digits to appear after the decimal point character, FALSE if the precision gives the number of significative digits
Visible true Sets whether the widget is visible.
VisibleTextWidth 5 The number of visible characters.
Callbacks Description
DragButton Sent whenever a mouse drag mechanism starts on a button.
DragCancel Sent whenever a mouse drag mechanism stops.
DragDrop Sent whenever a mouse drop happens. This notification is sent by the target of the drag&drop operation.
DragDropEnd Sent whenever a mouse drop happens.This notification is sent by the source of the drag&drop operation.
DragEnter Sent whenever a mouse drag enters the window.
DragLeave Sent whenever a mouse drag leaves the window.
DragOver Sent whenever a mouse drag rolls over the window.
DragStart Sent whenever a mouse drag mechanism begins.
HelpRequested Sent whenever the object is selected using the What's This command.
OnButtonDown Sent whenever the down (decrement) arrow is clicked (only for a UserIncrement spinner).
OnButtonUp Sent whenever the up (increment) arrow is clicked (only for a UserIncrement spinner).
Resized Sent whenever the object is resized.
ValueChanged Sent whenever the current value is modified.
VisibilityChanged Sent whenever the object visibility is modified.

History

Version: 1 [Jul 2007] Document created