Solved

ObjectInsp & my editor

Posted on 2004-10-07
5
165 Views
Last Modified: 2010-04-05
I write my editor to manage some items.

How can I do that when click an item displayed into a list box from my editor to show the properties for this item in Object Inspector?

For my items I use a TCollection&TCollectionItems.

To understand better my problem, drop a TMainMenu on a form. Click once to it and look on Obj Insp. Will display the mainmenu properties. Double click on it and look again to Obj Insp. Now display the TMenuItem properties.

When click on editor to different items, will show properties for selected item.

Exactly what I wish. When click my item in listbox to show into my Obj Insp my item properties.
0
Comment
Question by:ginsonic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 17

Expert Comment

by:geobul
ID: 12250062
Hi,

The following link explains how that could be done:
http://www.howtodothings.com/showarticle.asp?article=327
Look the example of TWavSound component and its editor. Basically you can override Edit method of the editor. This method is being called when you double-click your component, if I remember right :-)

Regards, Geo
0
 
LVL 9

Author Comment

by:ginsonic
ID: 12251667
can you be more specified, please? Some code are welcome!
0
 
LVL 9

Author Comment

by:ginsonic
ID: 12388955
Solve myself. Intending to delete this question.
0
 

Accepted Solution

by:
RomMod earned 0 total points
ID: 12424367
The question has been PAQ'd and the 500 points have been refunded.
RomMod
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question