我有一个窗口表 在afterload里面有这么一段代码
DataTables("考勤管理_考勤管理Table1").AddUserStyle("ab", Color.silver,Color.black)DataTables("考勤管理_考勤管理Table1").SysStyles("Focus").ForeColor = Color.redDataTables("考勤管理_考勤管理Table1").SysStyles("CurrentRow").BackColor = Color.redTables("考勤管理_考勤管理Table1").UseVisualStyle = False
在drawcell里有这么一段代码
If e.col.Caption.Contains("六") Or e.col.Caption.Contains("日") Then e.Style = "ab"End If
现在出现2个问题 一是 currentrow 背景色并不是红色