Delphi – pressing Ctrl-A on a TDBEdit was partially fixed in Delphi 10.2 Tokyo
Posted by jpluimers on 2018/07/11
[WayBack] QualityCentral 110308 – TDBEdit updates wrongly Datalink.Modified when Dataset being in Browse mode and [WayBack] QualityCentral 127300 – Closed Exception When Ctrl+A (select text) on TDBEdit have been partially fixed in Delphi 10.2 Tokyo under [RSP-16288] Bug after selecting all the text by pressing Ctrl+A in TDBEdit and pressing TAB – Embarcadero Technologies.
Since there is only manual syncing from Quality Portal to Quality Central, and only Quality Central is indexed by search engines, the public at large usually finds the Quality Central bugs.
Basically, the affected controls ([WayBack] TDBEdit
, [WayBack] TDBComboBox
, [WayBack] TDBMemo
, but not [WayBack] TDBRichEdit
– probably not needed as I could not reproduce the [WayBack] TClientDataSet
based QC127300 attachment in Delphi 10.1 with TDBMemo
or TDBRichEdit
, though neither selected of these two all text, which 10.2 also fixes).
the .KeyPress
methods now check for a Ctrl-A case like this:
^A: begin SelectAll; Key := #0; end;
and some of the .KeyDown
methods have been tuned a little by setting Key := 0
when Edit
returns false.
–jeroen
Leave a Reply