TMemo and TEdit lose selection when text is selected in other control
Original Reporter info from Mantis: hjh
-
Reporter name: Henk Hagedoorn
Original Reporter info from Mantis: hjh
- Reporter name: Henk Hagedoorn
Description:
Reproducable on Linux, have not tried on other platforms. Put a tmemo and an tedit on a form, both have hideselection = false. If you select a text in the tmemo, then after this select text in the tedit, the selection in tmemo is lost (not only visibly, but also programmatically).However, if you just click inside the tedit, then the memo still has the selection. Only when you really select text in the tedit, memo loses its selection.
It seems that no two edit/memo components inside the same application can have text selected.
Additional information:
Selection can be done using mouse or keyboard cursor keys. Both will unselect text in the other control.
This also happens with two tmemo's or having two forms (in one application) each having a tmemo (or tedit).
Mantis conversion info:
- Mantis ID: 20922
- Version: 0.9.30