Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Increment in Spinner control
Message
 
À
17/10/2012 13:10:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01555184
Message ID:
01555191
Vues:
86
J'aime (1)
>I tried this already.
>After compiling application the increment actually remains set to default value 1
>
>Ed

Try setting the default value to 1.0, see the difference in following code:
loForm		= CreateObject('myForm')
loForm.show(1)

define class myForm as Form
	add object mySpinnerI as Spinner with value = 1, increment = 0.5
	add object mySpinnerF as Spinner with value = 1.0, increment = 0.5, top = 20
	add object mySpinnerF2 as Spinner with value = 1.0, increment = 0.25, top = 40
	add object mySpinnerF3 as Spinner with value = 1.00, increment = 0.25, top = 60
enddefine
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform