Solved

ObjectInsp & my editor

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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 …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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