通常是这么使用

with ADO_Tb do
begin
try
DisableControls;
Open;
finally
EnableControls;
end;
end;