Home Edit properties like it TPageControl does
Reply: 0

Edit properties like it TPageControl does

user1655 Published in July 18, 2018, 10:23 pm

I experimented with various Delphi property editors and even made an editor as a separate window.

Now I would like to develop a visual control containing variable amount of several complex display items like this:

│    Parent control       │
│ ┌─────────────────────┐ │
│ │   Display Item 1    │ │
│ ├─────────────────────┤ │
│ │   Display Item 2    │ │
│ ├─────────────────────┤ │
│ │   Display Item 3    │ │
│ ├─────────────────────┤ │
│ │   Display Item 4    │ │
│ └─────────────────────┘ │

and would like to edit each Display Item's properties in Object Inspector like it the TPageControl with its TTabSheets does.

It means that I click on some of Display Items and its properties appear in Object Inspector, ready to edit. I click Parent Control and can edit it's properties in Object Inspector.

How to achieve this? Please give me a clue.

P.S. I thought about the TDBGrid property editor, but it behaves differently: When I click on columns property in Object Inspector columns editor window appears and when I select some item in it, I can edit it's properties. I would like to do this without intermediate window.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.243659 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO