Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug: Class Designer and textbox's value currency
Message
 
 
To
17/02/2005 07:40:43
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00987458
Message ID:
00987938
Views:
47
Tore,

If you look in the properties memo you'll see " around the value.

If you reset to default and then type in $0 as the value and close the designer you'll see the properties memo has it as a currency constant which will always display Y correctly as my form indicates.

I think it must have to do with some sequence/validity of his SET POINT at various points of time that has caused VFP to say, wait this must be a string because it doesn't fit the current currency constant format.

>I tested Fabio's small description, and in deed the vartype(this.value) showed C. I also tried to change the value from the command window, and the same happened. The value showed and acted like currency, but VFP reported character. Setting NTOM(0) in the property sheet made vartype report Y. And I definitively can't see that Fabio has done anything illegal, although I never would set the value of a textbox to $0 in the property sheet myself.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform