Solved

ObjectInsp & my editor

Posted on 2004-10-07
5
160 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now