Restrict component list to units in uses clause
Original Reporter info from Mantis: michael @mvancanneyt
-
Reporter name: Michael Van Canneyt
Original Reporter info from Mantis: michael @mvancanneyt
- Reporter name: Michael Van Canneyt
Description:
When you have multiple forms/datamodules in your project, and you select a component in the Object Inspector, the object inspector shows all components in the project, matching the type of the property.
It should only show the components that are in units in the uses clause of the current form/datamodule. (this is, BTW. what Delphi does).
It's not so much a problem for small projects, but the list becomes VERY long if you have e.g. 10 datamodules and need to select between 150 TSQLQuery instances for your TDatasource.
Steps to reproduce:
- Create 2 datamodules.
- Drop TIBConnection (or whatever) on each.
- Drop a TSQLTransaction on one of the datamodules.
- Set it's 'Database' property. 2 TIBConnection instances are shown in the dropdown: one from each datamodule.
Mantis conversion info:
- Mantis ID: 18825
- Platform: All