Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.column.text1.inputmask has no effect?
Message
From
23/09/1998 19:50:23
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid.column.text1.inputmask has no effect?
Miscellaneous
Thread ID:
00140112
Message ID:
00140112
Views:
56
I was working on a custom form for displaying results of an automatic process running from the .activate event of the form. It works fine, there's just one glitch that I don't mind this time, but would certainly need solved for some other cases if it reappears.

The numeric columns in the grid were assigned an InputMask of "999,999,999.99"; the numbers still display without separators. I've used a currency field, and the grid (quite unnecessarily) displayed all four decimals. Tried with n(16,2), it displayed the decimals ok (of course), but sitll didn't show the separators.

The InputMask is assigned in the form's init, like this:

this.nGrid1.column5.text1.InputMask=g_pc

G_pc is defined elsewhere; in the debugger I see it properly assigned to the InputMask property of the textbox in the column. Still, the numbers show without it. Any clues?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Next
Reply
Map
View

Click here to load this message in the networking platform