Returns or sets the value of an object.
object.Value [= integer]
object:Ocx object
Returns the current Value of a Button or Panel object. When Value is set a mouse click is executed.
Button - Returns True when the button is pressed. Value = True invokes a mouse click.
Panel - Returns True when the Panel is clicked. Value = True invokes a mouse click.
Ocx TextBox tb = "", 10, 10, 45, 15 : .BorderStyle = 1 : .ReadOnly = True
Ocx UpDown up : .BuddyControl = tb : .Max = 1000 : .Increment = 3 : .Value = 4
Ocx Label lbl = "up.Value = 4", 10, 40, 100, 14
Do : Sleep : Until Me Is Nothing
Sub up_Change
lbl.Text = "up.Value = " & up.Value
EndSub
{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}