Grid rows are already posted automatically on row change, without needing oed_autopost on the row's edit widgets
Source position: msedbedit.pas line 112
type griddatalinkoptionty = ( |
gdo_propscrollbar, |
gdo_thumbtrack, |
gdo_checkbrowsemodeonexit, |
gdo_selectautopost |
); |
Grid rows are already posted automatically on row change, without needing oed_autopost on the row's edit widgets. Set gdo_checkbrowsemodeonexit so the grid also calls TDataset.CheckBrowseMode when it loses focus (e.g. the form is about to close), instead of having to call it manually, to make sure the last edited row is not left unposted.