Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correct Display of Value In A Spinner
Message
 
À
03/12/2001 18:13:52
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00589001
Message ID:
00589008
Vues:
43
>Thanks to anyone who can offer a solution. I am using a spinner on a form that reads a text field from a table and through the use of a case..endcase structure, displays a numeric value. The field contains one of the 12 short forms for the month that the record was added, ex. "JAN", "FEB" and so on. The refresh method updates the current spinner value and assigns the numeric representation of the month. Everything works correctly, except that the spinner value displayed is always 1 record behind the rest of the form. So the month text box will say "AUG" and the spinner displays a 2 which was the correct value for the previous record. If I click on the "Next" button, the month reads "JUL" and the spinner value reads 8. I have tried many different permuations of the refresh methods for both the form and the spinner itself, but can't seem to get the spinner to display the correct numeric month. Any ideas greatly appreciated.
>
>Regards
>Carmen

By the sounds of it, the spinner may be getting refreshed before the record pointer has moved.
Try shifting the code that moves the record pointer, and make sure it has moved before you refresh the screen.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform