csNoFocus have no effect with TCustomForm
Original Reporter info from Mantis: gaborboros @gaborboros-bgss
-
Reporter name: Gabor Boros
Original Reporter info from Mantis: gaborboros @gaborboros-bgss
- Reporter name: Gabor Boros
Description:
A TCustomForm descendant is focusable with mouse despite controlstyle contains csNoFocus.
Steps to reproduce:
Start the attached example. Click on Button1, click on the green form or on the button on it. Form1 lose the focus.
Additional information:
Attached Zeljko's patch from the mailing list.
http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-October/095080.html
Mantis conversion info:
- Mantis ID: 28922
- OS: Kubuntu
- OS Build: 14.04.1
- Build: 50149
- Platform: Linux x86_64
- Version: 1.4.5 (SVN)
- Fixed in revision: 50195 (#95b1502b)