]、。·ˉˇ¨〃々—~‖…’”〕〉》」』〗】∶!"'),.:;?]` 搞定!设置Dbgrid的DBGrid1DrawDataCell事件中添加如下代码:
dbgrid1.Canvas.Font.Color:=clgreen;
if gdSelected in state then
SetBkColor(dbgrid1.canvas.handle,clred)
else
setbkcolor(dbgrid1.canvas.handle,clwhite);
dbgrid1.Canvas.TextRect(rect,0,0,field.AsString);
dbgrid1.Canvas.Textout(rect.Left,rect.Top,field.AsString);
//Over。大功告成,发个飞吻!!!!!!:-)
//可惜这儿的速度太慢,不经常来。要不........