Hello,
I'm trying to do the following:
Pressing <ctrl><s> should post the active record in a TUniQuery.
Pressing <ctrl><s> should post the active record in a TUniQuery.
The code in KeyDown event of the form (Keypreview is activated, no keydown event for the components) is the following:
AdvDBDatetimePicker_1.SetFocus;DBAdvGlowNavigator_1.BtnClick(nbPost);
If I press ctrl-s in a TDBAdvEdit on the form, nothing is saved (post not fired) but the focus switches to AdvDBDatetimePicker_1.
If I press ctrl-s in AdvDBDatetimePicker_1 or a TAdvDBLookUpComboBox the post is fired and the changes are saved.
What is different in a TDBAdvEdit that causes this behavior?
If I press ctrl-s in AdvDBDatetimePicker_1 or a TAdvDBLookUpComboBox the post is fired and the changes are saved.
Putting the code into Keydown event in the component does not work either.