Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug: Class Designer and textbox's value currency
Message
De
16/02/2005 14:19:45
 
 
À
16/02/2005 11:16:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00987458
Message ID:
00987591
Vues:
26
>Why is Value a string? It's a currency value. And SET POINT TO only specifies which value you SHOW as the decimal separator.

When you write a literal number/currency the decimal point is SET("POINT") or "." ?

try 20'' job:
on command;
 SET POINT TO "?"
- Form designer
- add a textbox
- select textbox
- on textbox gotfocus
WAIT WINDOW VARTYPE(THIS.Value)
on command:
ASELOBJ(ax)
ax[1].value=$1
? VARTYPE(ax[1].value) && print Y : this is the value of the instanced textbox

Now run
!!!! on the window message you see a C
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform