Question Style.ForeColor is not working properly on Windows 7

thasleem241

New member
Joined
Jan 17, 2017
Messages
1
Programming Experience
1-3
My code is:
grdListofItems.Rows[intRow].Cells[columnName].Style.ForeColor = Color.Green;It works fine in Windows Classic Mode and the DropDownList font is in green.
But when it runs in Windows 7, the font color is back to black.
 
Back
Top Bottom