Solved

How to write an expert for Delphi 3,4?Expert must retrieve form info,TWinControl info from IDE

Posted on 1998-12-01
10
225 Views
Last Modified: 2010-04-04
I need to create an expert for delphi 3,4 (Win95/98/NT) to do the following:
(How exactly this is done, I don’t have a clue?????)
(1) This expert must be able to retrieve:
(a) how many forms belong to the current open project in the Delphi IDE.?
(b) what they are called ?
(c) what TwinControls are on each form ?
(d) what the property values are for these TwinControls ?
(e) I must be able to change these property values eg..Tbitbtn1.caption := ‘ddd’; ?

I require an answer to all of the subquestions too please.
Can increase the points given for subquestions answered too, or perhaps add them as questions after the main problem solved.

Thanks
Doogie.
0
Comment
Question by:doogie
[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
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1348769
Here are some components from DSP - the source available with them should answer all your questions - if not let me know...

Cheers,

Raymond.

     qrexpert.zip (26,216 bytes) A Delphi Expert that build reports using the QuickReport components (ver. 0.97 beta, added
     8/9/96)  by Moacir Alves Schmidt  

     etk10.exe (176,698 bytes) Expert tool kit: helps you create your own experts and wizard to extend Delphi 3's IDE (ver.
     1.0, added 6/21/97)   by Tempest Software  

        xdk11.zip (247,973 bytes) eXpert Development Kit (XDK) includes set of visual components, functions and tools to
     simplify your Add-Ins development for Delphi IDE. (ver. 1.1, added 11/30/97, Documentation: is available separately from
     the author's home page. Condition of usage: free with reference similar to "... created with XDK by Sergey Orlic")
               by Sergey Orlic  

     srcexp.zip (3,957 bytes) The Source Expert is a tool that allows the Delphi developer a quick open Delphi source files.
     (ver. 1.0, added 11/26/97)  by Roman M. Mochalov  

     xexp.zip (250,638 bytes) Set of experts. Source find Expert, Method Navigator, Favorite files expert, Fast Package expert
     and more... Need Library RX (ver. 1.02, added 12/23/97, IF you interisting Then Writing To Me)  by Buzaev
     Alexander  

     chbrws.zip (65,691 bytes) Components Hierarchy Browser (CHB) is a Delphi 3 Add-in that enables developers to
     examine without compile the inheritance information for components, registered in the Delphi 3 Components Palette. CHB
     is designed with using eXpert development Kit (ver. 7/13/97, added 11/30/97, requires eXpert development Kit to compile)
               by Sergey Orlic  

     guidexp.zip (8,598 bytes) GUID Expert will allow you easily to create the new descriptions of interfaces and globally
     unique identifier (GUID) not leaving Delphi IDE. (ver. 1.0, added 1/26/98, with source, Sergey Orlic XDK requires)
               by Andre Belokon, Grani Ltd.  

0
 
LVL 3

Expert Comment

by:williams2
ID: 1348770
Try to be more specific with your question. Do you need the information at Design time or Run time? What is the purpose of your project?

/Williams
0
 
LVL 1

Expert Comment

by:Gerhard100198
ID: 1348771
Doogie,

Try this link: http://www.gexperts.com/opentoolsframe.html

It sounds as if it is what you're looking for. If it is, consider this as a proposed answer.
0
Technology Partners: 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!

 

Author Comment

by:doogie
ID: 1348772
Thanks all.

Will look into all the proposed answers, and when I find the one that works will let you know.
Rwilson ... thanks for the refrences. Will look at them all.

To be more specific... the expert will have to work on the project open in the IDE at Design Time. I have developed a tool, and wish to imlement it as an expert. The concept code is written, but, I need to be able to get the data mentioned in my question, to be able to make the tool functional...If that answers your question Williams2.

Gerhard .. I'll take a look at your link
Thanks to all .. give me some time to get through this all, then will respond.

Please feel free to give code snippets...especially for the parts on accessing properties through the expert of the designtime projects TwinControls/TControls.

Doogie
0
 

Author Comment

by:doogie
ID: 1348773
I sorry rwilson ... you give me a lot of references to experts/components on the net .. just too much hassle to browse all that code etc .

I prefer Gerhards answer. Follow that hyperlink, and those ensuing, and you will find hundreds of pages of articles explaining just how to write experts, + tricks, undocumented features etc. Really a must to bookmark

Thanks Gerhard ( PS Is jy Gerhard van Telkom Pretoria?)

Please will gerhard submit his answer as an answer sothat I can give him the points.

Doogie.
0
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1348774
Yup, bookmarked that site!

Cheers,

Raymond.
0
 

Expert Comment

by:ggets
ID: 1348775
There is a good book called - The Hidden Paths of Delphi.
It deals specifically with experts. Take a look at it on Amazon.com

Good luck
0
 
LVL 1

Accepted Solution

by:
Gerhard100198 earned 200 total points
ID: 1348776
Ja ek is.

Is jy Adrian van 26ste Laan, Villieria?

Kan ek nou maar my 200 punte key asb. ;)
0
 

Author Comment

by:doogie
ID: 1348777
Nee, maar van 25ste ... mag ek jou maar by die werk pla vir advies via jou email?
0
 
LVL 1

Expert Comment

by:Gerhard100198
ID: 1348778
Ja, jy is welkom.

gerhardvr@email.com
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

740 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