Código Delphi [-] edit.enabled := Boolean(dataSet.state = dsInsert);
edit.enabled := Boolean(dataSet.state = dsInsert);