Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox in a grid with date field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Textbox in a grid with date field
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01321108
Message ID:
01321108
Vues:
79
My textbox class will increment and decrement a date when the user presses the + or - keys. Works fine, but recently I noticed that if the textbox is used in a column of a grid, the increment is by two and not by one. So when it's empty, the first + or - should set it to the current date, then the next + or - will increment or decrement the date by one. Instead, if the field is empty, pressing + will result in tomorrow's date being entered. Pressing it again will result in a date two days from the currently displayed date. Similar behavior is witnessed using the - key, except the date is decremented. I have used SET COVERAGE to determine that the code is not somehow executing twice and that the code I think is executing is actually executing. The same control works fine when not in a grid. Anyone have any thoughts as to what might cause this?

Thanks,

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform