Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>Is there a way to bindevents to when the date of the computer changes? In our accounting package when the user first logs in we set a property to the current date but allow them to change the date so they can 'back post' entries that they need to do. One client runs 24/7 and isn't happy that the date doesn't change after midnight.
Not sure if there is a Windows event for binding, but a work-around would be to calculate the time to midnight at the start of the program (when setting the custom date property). Then set a timer to "count-down" to that time plus a couple of minutes. Then re-read the date and calculate new timer setting.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement