Pressing Enter (or leaving the widget) always stores the edited value into the bound tfield, but does not by itself call TDataset.Post
Source position: msedbedit.pas line 92
type optioneditdbty = ( |
oed_autoedit, |
oed_noautoedit, |
oed_readonly, |
oed_noreadonly, |
oed_autopost, |
oed_nullcheckifunmodified, |
oed_syncedittonavigator, |
oed_focusoninsert, |
oed_nofilteredit, |
oed_nofilterminedit, |
oed_nofiltermaxedit, |
oed_nofindedit, |
oed_nonullset, |
oed_nullset, |
oed_limitcharlen |
); |
Pressing Enter (or leaving the widget) always stores the edited value into the bound tfield, but does not by itself call TDataset.Post — without oed_autopost, the record is only actually posted at the next CheckBrowseMode, typically triggered by scrolling to another record. Set oed_autopost to post immediately instead.