只 只怕想不到 Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-09 #2 见Ehlib的Demo1 procedure TForm1.ppmSelectAllClick(Sender: TObject); begin if (ActiveControl is TDBGridEh) then with TDBGridEh(ActiveControl) do if CheckSelectAllAction and (geaSelectAllEh in EditActions) then Selection.SelectAll; end;
见Ehlib的Demo1 procedure TForm1.ppmSelectAllClick(Sender: TObject); begin if (ActiveControl is TDBGridEh) then with TDBGridEh(ActiveControl) do if CheckSelectAllAction and (geaSelectAllEh in EditActions) then Selection.SelectAll; end;
贝 贝尔 Unregistered / Unconfirmed GUEST, unregistred user! 2007-11-10 #3 将dbgrideh1中optios属性中的dgmultiselect设为true 在代码中添加: dbgrideh1.SelectedRows.SelectAll;