Dephi XE7 Component Icons not working - delphi

I am in the process of moving a number components I have written from XE2 to XE7. All these components have individual icons. The icons are contained in a .dcr file in each component project file along with the pascal source file(s), the source of the .bpl file references the .dcr file. All the component icons show correctly in the relevant XE2 component palette folder.
When I install one of these components into XE7, the component icon does not appear in the component palette. If I close XE7 and re-open it, the component ICON now appears in the component palette.
If I then install another of these components into XE7, once again the new component icon does not appear in the palette.
If I restart XE7, the new component icon will probably appear in the component palette, but the previous icon will now be missing (this behaviour varies from time to time).
So, as I install further components, some the components icons sometimes appear correctly, but most are missing.
The components work fine, it is just that the component icon is missing.
Any ideas why this may be happening?
Thanks in anticipation - Jim

Related

How to search C++Builder component properties

Using C++Builder 10.3 VCL for Windows. I am using a TImageList and I need to search all of my project's components to identify which components use that TImageList in their Images property. When I do a search, it shows no results, apparently it is only searching the code. How can I search all the components properties to look for the TImageList?

Where can I find the Styles I downloaded from GetIt Manager

I downloaded a bunch of styles from the GetIt Manager in RAD Studio and was wondering where I could possibly find them now?
They can be found within the CatalogRepository folder. You can find that folder at C:\Users\YourNameOrWhatever\Documents\Embarcadero\Studio\22.0\CatalogRepository.
Using the styles in VCL:
Go to the appearance item under Project Settings. From there you can choose a custom style for your app. All the GetIt downloaded styles will appear there.
Using the styles in FMX:
Add a TStylebook component onto the form and then import the style you want into the component. After that, go to your form's properties and set the Stylebook property equal to your Stylebook component.

Doubling component on "Standard" palette page

Recently I've installed the new Embarcadero Delphi 10.3 Rio, and noticed that some components on the Standard toolbar page are being doubled. Particularly, the doubled components are TMainMenu, TActionList and others. These components live in Embarcadero's Standard package.
I've looked through the list of installed packages and found some Embarcadero FMX packages with these components. Unchecking those packages (need to uncheck two FMX packages) didn't give a result.
Any idea how to fix this?
This is an IDE bug that affects only components in Standard VCL or FMX package.
Standard VCL controls are displayed twice on the Component toolbar https://quality.embarcadero.com/browse/RSP-19518
It is harmless, so you don't have to do anything about it.
Which standard package controls will be duplicated (or not at all) depends on the context.
If you don't have any application or package open, you will see both VCL and FMX controls on the toolbar (no duplicates). When you hover with the mouse over the component icon hint will tell you to which package control belongs.
If you have VCL based application or package open, you will have duplicate VCL standard controls. On the other hand if you have FMX based application or package open you will see duplicates from FMX standard controls package.
However, above behavior is not carved in stone. It is just what you can observe most of the time. Component toolbar behavior can be rather unpredictable at times.

TComboBox list won't drop down when using firemonkey styles in Delphi 10.1 Berlin

I'm having a problem with the FMX TComboBox component in Delphi 10.1 Berlin (and I've seen it in earlier XE versions as well). The problem is this.
I create a new multi-platform project, drop a TComboBox on an empty form, add a few items to TComboBox.Items, just as you'd do in VCL (this is FMX). Running it and clicking the button of the TComboBox and the items show in a drop down list just as they should.
Next, I drop a TStyleBook on the form, link the form with the StyleBook and load the Copper .style from the Premium firemonkey styles that come with Delphi 10.1 Berlin.
Now, when I run the app, the items of the combo box won't show when I click the drop down button. But I can select the items using up and down arrow keys. If I clear the style, the combobox works again.
So, obviously there is either something wrong with the style (have tried other with the same effect) or I'm missing something.
(I also tried to use the Add TListBoxItem from the right-click menu, but the problem remained).

Why does the Component Palette change when I open a data module?

I installed Delphi 7 on Windows 7 x64. Things went well for while, but now, when I open or create a data module it messes up the component palette. By messes up, I mean it seems to scramble which tabs components are on, or hide them altogether. This is really unusual behaviour.
Uninstalling and reinstalling Delphi 7 hasn't helped.
The component palette is context sensitive, so that tabs that can't be used aren't displayed. (Visual components make no sense in a datamodule, because you can't put a visual component on a datamodule. There's no point in showing you components you can't use.) A tab that has only visual components on it will be totally hidden; if there is a mix of visual and non-visual components (like the Win32 tab), only the non-visual components will be displayed.
Switching to the design window for a form should display both visual and non-visual components, including making those hidden tabs visible again.

Resources