如果工程里既有TDBGridEh和stringgrid,在写stringgrid的StringGrid1DrawCell()时会报错,怎么回事呢?
yung 2007-03-16 03:56:36 错误如下:
E2015 Ambiguity between 'TGridDrawState' and 'Grids::TGridDrawState'
我把消息改成void __fastcall StringGrid1DrawCell(TObject *Sender, int ACol,int ARow, TRect &Rect,Grids::TGridDrawState State);
但是程序根本不响应这个函数了,怎么回事呢?