Solved

ObjectInsp & my editor

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

808 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