Wrong usage of SelStart and SelLength in OnChange event
Original Reporter info from Mantis: ffred69
-
Reporter name: Fred
Original Reporter info from Mantis: ffred69
- Reporter name: Fred
Description:
Try to put this code into OnChange:
Edit1.Text := 'ABCDEF';
Edit1.SelStart := 1;
Edit1.SelLength := Length (Edit1.Text);
and after firing OnChange event nothing is selected.
Additional information:
This happens on Linux only. Tested on Carbon and it is OK there.
Lazarus Rev. 33088
Mantis conversion info:
- Mantis ID: 20890
- Version: 0.9.30.3 (SVN)
- Fixed in revision: 36086 (#eb25b3d5)