Designer changes ActiveControl of designed form automatically if TCustomAbstractGroupedEdit is ActiveControl
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
When designing a form in the IDE that has ActiveControl property set to a TCustomAbstractGroupedEdit descendant, the ActiveControl property gets emptied.
Steps to reproduce:
1.) Open /trunk/ide/editorfilemanager.lfm
2.) Set ActiveControl to FilterEdit.
3.) Save and close the dialog.
4.) Open it again.
5.) Resize the dialog.
6.) Save and close the dialog.
7.) Open it again.
-> ActiveControl is nil!
Additional information:
It's due to wrong TabStop mechanism within TCustomAbstractGroupedEdit. Particularly the "TCustomAbstractGroupedEdit.DoEnter" implementation code is wrong.
Mantis conversion info:
- Mantis ID: 31811
- Version: 1.9 (SVN)
- Fixed in revision: 54926 (#2d796742)