DataSet当前行,不是当前选中的行
int arow = 0;
arow = cds1->RecNo;
arow = cds1->RecordCount;
arow = DBGridEh1->DataRowToRecNo(DBGridEh1->Row);//接近靠谱
arow = DBGridEh1->TopRow;
arow = DBGridEh1->TopRowOffset;
arow = DBGridEh1->DataRowCount();
arow = DBGridEh1->VisibleRowCount;
arow = DBGridEh1->Row;//接近靠谱
arow = DBGridEh1->RowCount;
当grid下拉滚动条时就不准确了
GridEh 当前行
时间: 2024-11-08 15:51:03