Object Reference > True DBGrid Methods > ClearCellStyle Method |
ClearCellStyle Method
The ClearCellStyle method removes a cell condition established with a previous call to the AddCellStyle method for the object in question. If no such cell condition exists, then calling this method has no effect.
object.ClearCellStylecondition
Arguments
condition is a combination of one or more CellStyleConstants.
Return Value
None
If the condition argument is -1 (dbgAllCells), then all non-regex cell conditions are removed, regardless of status.