Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resetting Spinners
Message
De
11/04/2005 16:26:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Resetting Spinners
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01003481
Message ID:
01003481
Vues:
61
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform