Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional Formatting in Grids VFP

Status
Not open for further replies.

morlassino

IS-IT--Management
Jul 1, 2004
33
0
0
US
every time i try this code i get an error message that states
property DYNAMICSTRIKETHRU is not found

Code:
this.column4.Dynamicstrikethru = ;
IIF(ALLTRIM(stops.stop) = "deleted", .t.,.f.)
any help would be greatly appreciated

MARIO P ORLASSINO
ASSISTANT MANAGER IT
"THE HOSE HEAD"
 


The property is called dynamicfontstrikethru.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
oops i misspelled i still get the error the error i can't seem to get past is a
'data tyoe is invalid for this property.'
i am confused...
i thought i had it set up right what i am trying to do is have if the grid box one of the values matches the critea it changes the font to strike through...


MARIO P ORLASSINO
ASSISTANT MANAGER IT
"THE HOSE HEAD"
 
Try this:
Code:
this.column4.Dynamicstrikethru = ;
  [COLOR=red]'[/color]IIF(ALLTRIM(stops.stop) = "deleted", .t.,.f.)[COLOR=red]'[/color]
*Note the ' around the expression.

Also, see this FAQ:
How do I change grids' row/column colors/fonts, ...
faq184-3098


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top