title: change dbgrid options at runtime
body: <p>I want to change the DBGrid.Option.I found the following code:</p>
  
  <pre><code>DBGrid.Options:=DBGrid.Options + [dgEditing];
  DBGrid.Options:=[dgEditing];
  </code></pre>
  
  <p>But do not work properly and the error [dgEditing].
  I want to enable or disable the [dgEditing],[dgRowSelect] mode.</p>
  
  <p>thanks a lot, a lot.</p>