Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resetting Spinners
Message
From
11/04/2005 16:26:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Resetting Spinners
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003481
Message ID:
01003481
Views:
59
Anyone know how I can reset a spinner low and high value based off the quantity of items on hand. The code is listed below:

IF v_man_inv.qty_onhand = 0
This.Parent.RequestSpin.SpinnerLowValue = 0
This.Parent.CartButton.Enabled = .F.
This.Parent.RequestSpin.Enabled = .F.
ELSE
This.Parent.CartButton.Enabled = .T.
This.Parent.RequestSpin.Enabled = .t.
This.Parent.RequestSpin.SpinnerLowValue = 1
This.Parent.RequestSpin.SpinnerHighValue = (v_man_inv.qty_onhand * .20) + v_man_inv.qty_onhand
ENDIF

This.Parent.RequestSpin.refresh()

thisform.refresh
Thanks in Advance.

J. Turner
Next
Reply
Map
View

Click here to load this message in the networking platform