Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installing components in Delphi 3

Status
Not open for further replies.

2sticks

Programmer
Feb 22, 2006
4
GB


Delphi 3 -- Win XP-- Components -- Old man -- Poor memory.

A few years ago I installed 3 extra buttons in the component bar
on a tab called "Extrabits". They have worked well for some time.

I fitted a larger drive in my machine and re - installed Delphi 3.
All worked perfectly OK until I tried to install the extra components.
They installed as normal from the Pascal source and produced a DCU but
neither the tab or the components ever appeared on the component bar !!.

I have been struggling for several days but I can't see the solution.
If anyone can tell me where I am going wrong it would be extremely
appreciated.

Thanks in advance,

Ben.
 
Usually there's an associated DPK file with a component which when compiled / run produces what you are looking for. If you double-click on that it presents an install option, which will run any/all "register" procedures that are present, effectively installing the controls as options into the editor.

Hope that helps.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 

Many thanks Glenn9999, your mention of the DPK package
struck a chord (B# Minor) in my memory and the problem
is now resolved.

An explanation may be appropriate.
As I only have the Pascal source for my extra components
it needs to be installed into an existing package. Hidden
in the depths of Delphi 3 is a user package dclusr30.dpk
which does not get installed by default probably because
it's empty. I installed my extra components into this
package.

What I had forgotten to do was enable this package in the
"Component Pallette", having done this all is well.

At 80 years old, the "Little grey cells" are still working
reasonably well but on occasion they sometimes require a
push in the right direction.

Thanks again,

Ben.
 
D3 wow!
I thought user stuff has always got automatically stuck into dclusrX0, no need to 'enable it' first, even in the long ago days of D3, but anyway, thanks for making me feel like a youngster 2sticks!!

Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
 
You know I'm not really all that old, myself. I've been using Delphi 3, you know.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top