UpDown Interface Reference

An UpDown control has two buttons, the up button and the down button, and stores an integer value. More...

Inheritance diagram for UpDown:

Inheritance graph
Collaboration diagram for UpDown:

Collaboration graph
List of all members.

Properties

VARIANT_BOOL RW Vertical []
 Specifies that the control has vertical orientation.
VARIANT_BOOL RW HotTrack []
 Specifies that the button under the mouse pointer are automatically highlighted.

Detailed Description

An UpDown control has two buttons, the up button and the down button, and stores an integer value.

The up button increments the value. The down button decrements the value.

When the control's value changes, the OnChange event occur.

See also the method CreateUpDown of the Frame.

Example (JScript):

o = new ActiveXObject("Scripting.WindowSystemObject")
o.EnableVisualStyles = true

f = o.CreateForm(0,0,0,0)

f.ClientWidth = 140
f.ClientHeight = 80
f.CenterControl()

UpDown = f.CreateUpDown(10,10,35,40)

f.Show()

o.Run()

Result:

UpDown.jpg


Property Documentation

VARIANT_BOOL RW HotTrack

Specifies that the button under the mouse pointer are automatically highlighted.

VARIANT_BOOL RW Vertical

Specifies that the control has vertical orientation.


WSO 1.1 Documentation. Date modified:Wed Aug 12 18:13:22 2015. (C) Veretennikov A. B. 2004-2015