Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add numeric string as property value?
Message
De
19/07/2009 09:24:12
 
 
À
19/07/2009 01:56:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01412603
Message ID:
01413246
Vues:
78
Hi Al,

>>If I think of dates alone, you'd either need a format independant on any country specific formatting or you'd need to define that format too.
>
>STRICTDATE would work fine.

>>I don't feel you thought about this thoroughly enough.
>Actually, in addition to the points above I've been letting this idea roll around in the back of my mind for a couple of days. The conclusion I've reached is actually pretty simple: property values in the property sheet should appear the same way they do in the debugger.

the way lcS = [Ha"llo] is shown in the debugger creates small WTF moments as well.
Not sure with (XML to be used in properties as well) which is more of a burden.
And let us not talk about dates when set date to another locale -
is it helpful the value changes when the line gets the focus in the debugger ?
At least the with the current solution there is only one change,
if you use dots as date spearators for instance <g>.

The addition of a Type Column, which the user can override,
if the value is not a string or the datatype vfp expects might have been more benficial -
but without real benefits from optional static typing?

Guess there is no really good solution here for our fox...

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform