Código Delphi [-] if Table1.State in dsEditModes then begin ..
if Table1.State in dsEditModes then begin ..