Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro grid column custom formatter
Message
De
08/01/2013 17:29:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Foxpro grid column custom formatter
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01561809
Message ID:
01561809
Vues:
173
In foxpro grid we've got a column bound to field ( N ) . Just wondering whether it is doable ?

Expected behaviour :
Column hour_minute :

No application flag set
Entered 4.5 saved as 4.5 and shown as 4.5

Flag is set to minutes
Entered 4.30 saved as 4.5 in a table, kept to be shown as 4.30 in a grid.

We assume rounding to quarters either for decimals or real minutes entered. 0.25 , 0.5 , 0.75 or respective 0.15, 0.30 , 0.45 minutes.
Introducing another expression based read-only column which shows value based on application flag and bound column is always converted to decimals may be a solution.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform