Watch, Follow, &
Connect with Us

Welcome, Guest
Guest Settings
Help

Thread: Package troubles



Permlink Replies: 9 - Last Post: Apr 12, 2017 2:39 AM Last Post By: Lars Groennegaard Threads: [ Previous | Next ]
Lars Groennegaard

Posts: 82
Registered: 5/12/01
Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 8, 2017 5:47 AM
Hi all,
This is my last resort, before reinstalling EX2:
I have a component package that have worked perfectly for years. When
introducing a new component into the package something went wrong (as
explained in my earlier tread). To troubleshoot the problem, I removed
and reinstalled the package.
I did exactly as described in help, and everything seemed fine: All
component units compiled without error, and registration/installation
using Project Manager went just fine. The system responded, that the
component palette was updated with my components.
The problem is, that my component tab does not show in the tool palette.
Investigating through Component/Install packages my packet appear,
checked, and containing the correct components.
I hope somebody can help me avoiding re-installation (I have the
original installation file, though).
Peter Below

Posts: 1,080
Registered: 12/16/99
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 9, 2017 1:53 AM   in response to: Lars Groennegaard in response to: Lars Groennegaard
Lars Groennegaard wrote:

Hi all,
This is my last resort, before reinstalling EX2:
I have a component package that have worked perfectly for years. When
introducing a new component into the package something went wrong (as
explained in my earlier tread). To troubleshoot the problem, I
removed and reinstalled the package.
I did exactly as described in help, and everything seemed fine: All
component units compiled without error, and registration/installation
using Project Manager went just fine. The system responded, that the
component palette was updated with my components.
The problem is, that my component tab does not show in the tool
palette. Investigating through Component/Install packages my packet
appear, checked, and containing the correct components.
I hope somebody can help me avoiding re-installation (I have the
original installation file, though).

The component palette is context-sensitive, so what you see in the
palette depends on what kind of project you have open, even what kind
of unit you have active at the moment. A FMX project will not show any
pure VCL components, for example.

A component class is now supposed to be tagged with a special attribute
that tells the IDE which platforms the component supports, if memory
serves.

--
Peter Below
TeamB
Lars Groennegaard

Posts: 82
Registered: 5/12/01
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 9, 2017 2:40 AM   in response to: Peter Below in response to: Peter Below
To my knowledge this is all purely VCL stuff: the components are all
derived from simple standard components (forms, comboboxes, panels). I
test on a new pristine Delphi VCL forms application.
Could "Platforms" refer to 32bit or 64bit machines? I run Win 10 on a
64bit platform.
To me it seems almost as if I do changes in one instance of the IDE, and
run another, if something like that is possible?

Den 09-04-2017 kl. 10:53 skrev Peter Below:
Lars Groennegaard wrote:

Hi all,
This is my last resort, before reinstalling EX2:
I have a component package that have worked perfectly for years. When
introducing a new component into the package something went wrong (as
explained in my earlier tread). To troubleshoot the problem, I
removed and reinstalled the package.
I did exactly as described in help, and everything seemed fine: All
component units compiled without error, and registration/installation
using Project Manager went just fine. The system responded, that the
component palette was updated with my components.
The problem is, that my component tab does not show in the tool
palette. Investigating through Component/Install packages my packet
appear, checked, and containing the correct components.
I hope somebody can help me avoiding re-installation (I have the
original installation file, though).

The component palette is context-sensitive, so what you see in the
palette depends on what kind of project you have open, even what kind
of unit you have active at the moment. A FMX project will not show any
pure VCL components, for example.

A component class is now supposed to be tagged with a special attribute
that tells the IDE which platforms the component supports, if memory
serves.
Peter Below

Posts: 1,080
Registered: 12/16/99
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 9, 2017 6:43 AM   in response to: Lars Groennegaard in response to: Lars Groennegaard
Lars Groennegaard wrote:

To my knowledge this is all purely VCL stuff: the components are all
derived from simple standard components (forms, comboboxes, panels).
I test on a new pristine Delphi VCL forms application.
Could "Platforms" refer to 32bit or 64bit machines? I run Win 10 on a
64bit platform.

The platform you run the IDE on is of no consequence here, it is the
target platform you build for.

To me it seems almost as if I do changes in one instance of the IDE,
and run another, if something like that is possible?

No. But you can activate or deactivate a component package on a
per-project basis. THis is part of the project options. Select the
"packages" node on the left side treeview and the right side gives you
a checked listbox with the installed design-time packages. Only those
checked are visible to the current project.


--
Peter Below
TeamB

Lars Groennegaard

Posts: 82
Registered: 5/12/01
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 9, 2017 10:39 AM   in response to: Peter Below in response to: Peter Below
Hi Peter,
When I follow your directions, I see my package in the list, with
checked checkbox. When I select my package I see the correct bpl file
name, with a good path, at the bottom of the page. When I press the
"Components" button I see a box with my components.
Losing hope....

Den 09-04-2017 kl. 15:43 skrev Peter Below:
Lars Groennegaard wrote:

To my knowledge this is all purely VCL stuff: the components are all
derived from simple standard components (forms, comboboxes, panels).
I test on a new pristine Delphi VCL forms application.
Could "Platforms" refer to 32bit or 64bit machines? I run Win 10 on a
64bit platform.

The platform you run the IDE on is of no consequence here, it is the
target platform you build for.

To me it seems almost as if I do changes in one instance of the IDE,
and run another, if something like that is possible?

No. But you can activate or deactivate a component package on a
per-project basis. THis is part of the project options. Select the
"packages" node on the left side treeview and the right side gives you
a checked listbox with the installed design-time packages. Only those
checked are visible to the current project.

Peter Below

Posts: 1,080
Registered: 12/16/99
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 9, 2017 11:28 PM   in response to: Lars Groennegaard in response to: Lars Groennegaard
Lars Groennegaard wrote:

Hi Peter,
When I follow your directions, I see my package in the list, with
checked checkbox. When I select my package I see the correct bpl file
name, with a good path, at the bottom of the page. When I press the
"Components" button I see a box with my components.

THat only proves that the package is installed, not necessarily that
the components it contains are registered properly. But you do get a
message from the IDE after installing the package that x components
have been registered, no?

with a form open in the designer, press Ctrl-Alt+P to call up the
component palette's search bar and type in the class name of one of the
components from your package. Does the search find it? If yes,
right-click on the palette pane and just add a new category and give it
the name of the palette page you expect to see.



Den 09-04-2017 kl. 15:43 skrev Peter Below:
Lars Groennegaard wrote:

To my knowledge this is all purely VCL stuff: the components are
all >> derived from simple standard components (forms, comboboxes,
panels). >> I test on a new pristine Delphi VCL forms application.
Could "Platforms" refer to 32bit or 64bit machines? I run Win 10
on a >> 64bit platform.

The platform you run the IDE on is of no consequence here, it is the
target platform you build for.

To me it seems almost as if I do changes in one instance of the
IDE, >> and run another, if something like that is possible?

No. But you can activate or deactivate a component package on a
per-project basis. THis is part of the project options. Select the
"packages" node on the left side treeview and the right side gives
you a checked listbox with the installed design-time packages. Only
those checked are visible to the current project.


--
Peter Below
TeamB

Lars Groennegaard

Posts: 82
Registered: 5/12/01
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 10, 2017 2:46 AM   in response to: Peter Below in response to: Peter Below
Hi Peter,
I get the confirmation, that my components have been processed. I don't
remember the exact wording, if "Installed" or "Registered" was used. I
will check, an follow your further directions, thank you.

By the way, I saw you titulated Dr. somewhere. It would not surprise me
at all, if you had a doctorate, but I should be interested in knowing
your field. Information science?

Den 10-04-2017 kl. 08:28 skrev Peter Below:
Lars Groennegaard wrote:

Hi Peter,
When I follow your directions, I see my package in the list, with
checked checkbox. When I select my package I see the correct bpl file
name, with a good path, at the bottom of the page. When I press the
"Components" button I see a box with my components.

THat only proves that the package is installed, not necessarily that
the components it contains are registered properly. But you do get a
message from the IDE after installing the package that x components
have been registered, no?

with a form open in the designer, press Ctrl-Alt+P to call up the
component palette's search bar and type in the class name of one of the
components from your package. Does the search find it? If yes,
right-click on the palette pane and just add a new category and give it
the name of the palette page you expect to see.



Den 09-04-2017 kl. 15:43 skrev Peter Below:
Lars Groennegaard wrote:

To my knowledge this is all purely VCL stuff: the components are
all >> derived from simple standard components (forms, comboboxes,
panels). >> I test on a new pristine Delphi VCL forms application.
Could "Platforms" refer to 32bit or 64bit machines? I run Win 10
on a >> 64bit platform.

The platform you run the IDE on is of no consequence here, it is the
target platform you build for.

To me it seems almost as if I do changes in one instance of the
IDE, >> and run another, if something like that is possible?

No. But you can activate or deactivate a component package on a
per-project basis. THis is part of the project options. Select the
"packages" node on the left side treeview and the right side gives
you a checked listbox with the installed design-time packages. Only
those checked are visible to the current project.

Lars Groennegaard

Posts: 82
Registered: 5/12/01
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 10, 2017 8:29 AM   in response to: Lars Groennegaard in response to: Lars Groennegaard
The problem now seems to be solved:Following Peters directions I
discovered, that there seems to be a setting somewhere, that directs my
system to register and add components in a hidden state. When a new
category has no visible components, it is omitted in the Tools Palette.
The medicine therefore was to create the new category as described,
right-click it and make all component-buttons visible (unhidden).
Thanks for the effort to help.

Den 10-04-2017 kl. 11:46 skrev Lars Groennegaard:
Hi Peter,
I get the confirmation, that my components have been processed. I don't
remember the exact wording, if "Installed" or "Registered" was used. I
will check, an follow your further directions, thank you.

By the way, I saw you titulated Dr. somewhere. It would not surprise me
at all, if you had a doctorate, but I should be interested in knowing
your field. Information science?

Den 10-04-2017 kl. 08:28 skrev Peter Below:
Lars Groennegaard wrote:

Hi Peter,
When I follow your directions, I see my package in the list, with
checked checkbox. When I select my package I see the correct bpl file
name, with a good path, at the bottom of the page. When I press the
"Components" button I see a box with my components.

THat only proves that the package is installed, not necessarily that
the components it contains are registered properly. But you do get a
message from the IDE after installing the package that x components
have been registered, no?

with a form open in the designer, press Ctrl-Alt+P to call up the
component palette's search bar and type in the class name of one of the
components from your package. Does the search find it? If yes,
right-click on the palette pane and just add a new category and give it
the name of the palette page you expect to see.



Den 09-04-2017 kl. 15:43 skrev Peter Below:
Lars Groennegaard wrote:

To my knowledge this is all purely VCL stuff: the components are
all >> derived from simple standard components (forms, comboboxes,
panels). >> I test on a new pristine Delphi VCL forms application.
Could "Platforms" refer to 32bit or 64bit machines? I run Win 10
on a >> 64bit platform.

The platform you run the IDE on is of no consequence here, it is the
target platform you build for.

To me it seems almost as if I do changes in one instance of the
IDE, >> and run another, if something like that is possible?

No. But you can activate or deactivate a component package on a
per-project basis. THis is part of the project options. Select the
"packages" node on the left side treeview and the right side gives
you a checked listbox with the installed design-time packages. Only
those checked are visible to the current project.

Peter Below

Posts: 1,080
Registered: 12/16/99
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 10, 2017 10:35 AM   in response to: Lars Groennegaard in response to: Lars Groennegaard
Lars Groennegaard wrote:

Hi Peter,
I get the confirmation, that my components have been processed. I
don't remember the exact wording, if "Installed" or "Registered" was
used. I will check, an follow your further directions, thank you.

By the way, I saw you titulated Dr. somewhere. It would not surprise
me at all, if you had a doctorate, but I should be interested in
knowing your field. Information science?

Oh, I have a PhD in organic chemistry, nothing to do with IT. That is
just a hobby, basically, I do not earn my toast and jam with it.

--
Peter Below
TeamB

Lars Groennegaard

Posts: 82
Registered: 5/12/01
Re: Package troubles
Click to report abuse...   Click to reply to this thread Reply
  Posted: Apr 12, 2017 2:39 AM   in response to: Peter Below in response to: Peter Below
Hi Peter,
I read somewhere that biology and chemistry is nothing but applied
physics, and that physics is applied mathematics. I my opinion
mathematics is an instance of Language with some philosophy and logic
thrown in, which goes for IT as well. So you seem to be some sort of
broad band linguist in both capacities, and a proven good one at that.

Den 10-04-2017 kl. 19:35 skrev Peter Below:
Lars Groennegaard wrote:

Hi Peter,
I get the confirmation, that my components have been processed. I
don't remember the exact wording, if "Installed" or "Registered" was
used. I will check, an follow your further directions, thank you.

By the way, I saw you titulated Dr. somewhere. It would not surprise
me at all, if you had a doctorate, but I should be interested in
knowing your field. Information science?

Oh, I have a PhD in organic chemistry, nothing to do with IT. That is
just a hobby, basically, I do not earn my toast and jam with it.


Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02