wSpinButton

A wSpinButton has two small up and down (or left and right) arrow buttons.

Appearance:
Superclass:wControl
Styles:
StylesDescription
wSpVerticalSpecifies a vertical spin button.
wSpHorizontalSpecifies a horizontal spin button.
Events:wSpinEvent

Consts

wSpVertical = 0
wSpHorizontal = 0x00000040

Procs

proc isVertical(self: wSpinButton): bool {...}{.validate, inline, raises: [], tags: [].}
Returns true if the spin button is vertical and false otherwise.
proc final(self: wSpinButton) {...}{.raises: [], tags: [].}
Default finalizer for wSpinButton.
proc init(self: wSpinButton; parent: wWindow; id = wDefaultID; pos = wDefaultPoint;
         size = wDefaultSize; style: wStyle = wSpVertical) {...}{.validate, raises: [],
    tags: [].}
Initializer.
proc SpinButton(parent: wWindow; id = wDefaultID; pos = wDefaultPoint;
               size = wDefaultSize; style: wStyle = wSpVertical): wSpinButton {...}{.inline,
    discardable, raises: [], tags: [].}
Constructor, creating and showing a spin button.

Methods

method getDefaultSize(self: wSpinButton): wSize {...}{.property, raises: [], tags: [].}
Returns the default size for the control.
method getBestSize(self: wSpinButton): wSize {...}{.property, inline, raises: [], tags: [].}
Returns the best acceptable minimal size for the control.