Solved

ObjectInsp & my editor

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
proper way to parse text with delphi 7 100
Show Listview image from database (String field) 5 112
Print Graphic and Text to Epson TM-T88v 12 171
How to debug For loops? 3 45
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

912 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

15 Experts available now in Live!

Get 1:1 Help Now