The tree view that I'm referring to is the one in the top of the object inspector.
Unfortunately, that thread ended almost 5 years ago without a constructive solution. Is there any good solution for the described need?
In my case:I'm trying to create a custom component
Hugo derived from
TPanel. Let's say,
Hugo has 5 buttons so i can switch between 5 pages. So i created a variable
FNotes (derived from
TNotebook) which is my subcomponent. Because i registered
Hugo in the palette, so i can place him on the main form and he is visible in the Object Inspector (OI) as a graphic icon with its properties in the grid.
Problem:The thing is that i can only access the pages in the code (e.g. via Hugo.FNotes.Page...) to place a button or other visual element on it. I want to place different elements on each page individually and it will be helpful for a design time to see every placed object on it.
Question:How is it possible to show the subcomponents of a custom component (=own creation!) in the tree view in the Object Inspector? Like it happens standard if you place elements on themself (cf. attached pic below for a better understanding).
DisclaimerI described above just a reduced principle example. I know, the easiest solution in that case is just to put TNotebook on the main form and place visual component on it.