IDE Fields Editor corrections and improvements
Original Reporter info from Mantis: Marcelo B Paula @mbpaula
-
Reporter name: Marcelo B Paula
Original Reporter info from Mantis: Marcelo B Paula @mbpaula
- Reporter name: Marcelo B Paula
Description:
The proposed patch solves bug #16966 (closed) reported by myself some time ago. The Fields editor code was normalized using other Lazarus code that works (in this case i compared with TAChart's TSubComponentEditor by Alexander Klenin).
Now it works as expected.
Tested with Lazarus trunk, fpc 2.5.1, i386-win32 and i386-linux
Additional information:
Additionaly, i made some visual improvements, Lazarus style:
- Added a ToolBar with all commands,
- Added a OwnerDraw ListBox that paints an icon to identify the FieldKind of TFields. It identifies the key fields too if ProviderFlags.pfInKey = True.
This was just an ideia. If the Lazarus Team do not aprove it, is easy to remove from code.
Mantis conversion info:
- Mantis ID: 17762
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 27965 (#3bae98a7)