Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
14/09/2000 13:53:54
 
 
To
14/09/2000 13:47:53
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grids
Miscellaneous
Thread ID:
00416503
Message ID:
00416525
Views:
27
In the VFP Help:

Z Displays the value as blank if it is 0, except when the control has the focus.

So, seems no way.
You may solve this problem by setting foreground color to the same as back color of textbox when value = 0 in GotFocus event. Than, when user type something, set fore color back to original.

>It is numeric and the 'Z' is set on both the column and the column's textbox.
>
>Jim
>
>>>That didn't work . . .
>>>
>>>Jim
>>>>>I have a grid with a quantity column. The cell that has focus is displaying 0. How do I get rid of the 0?
>>>>
>>>> Use 'Z' in the Format property of column or column text box.
>>
>> Set both for column and text box.
>> BTW, which type of field for that column? 'Z' works for numeric fields only.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform