Z
zhangyvping
Unregistered / Unconfirmed
GUEST, unregistred user!
在Button Click 事件中,要取其 dataset
procedure TBgglTaskGLForm.cxGridDBTableView6Doc1PropertiesButtonClick(
Sender: TObject;
AButtonIndex: Integer);
begin
(Sender as tcxGridDBColumn).DataBinding.DataController.DataSet....
end;
但系统说: type cast 不对
应怎么做?
procedure TBgglTaskGLForm.cxGridDBTableView6Doc1PropertiesButtonClick(
Sender: TObject;
AButtonIndex: Integer);
begin
(Sender as tcxGridDBColumn).DataBinding.DataController.DataSet....
end;
但系统说: type cast 不对
应怎么做?