Doubling component on "Standard" palette page - delphi

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.

Related

Dephi XE7 Component Icons not working

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

Removing "3D look" from Delphi controls

Standard Delphi controls (panels, buttons etc.) all have this bevel effect (white line on top and on the left) that gives them a 3D feel but today it makes them look old fashioned.
Is there a way to remove this "3D look" at least in Delphi 7?
Some controls have a Ctl3D property that you can turn off.
For a TPanel, you can also turn off its Bevel... properties.
What you really should do instead is enable Visual Styles in your app so it has a themed look on Windows XP and later. Delphi 7 did not natively support Visual Styles, but you can use Mike Lischke's XP Theme Manager component to handle that (it was incorporated directly into later VCL versions).

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.

Native hints/tooltips under Vista/7 with Delphi 7?

I am trying to reproduce native hints/tooltips under Windows Vista/7 using Delphi7.
I've found a nice component which could solve the issue, but it only partially works. TListView components' tooltips aren't shown. The screen is blinking for a sec but no tooltips are shown.
How can I display native tooltips in Windows with Delphi 7?
With latest Delphi versions, if the option "Enable runtime themes" is checked, the tooltips are like you want them. (If it's unchecked, the background is yellow).
I just test it with Delphi XE and TListView (vsIcon & vsReport).
So one easy (but not free) solution is to migrate to a recent Delphi version.

Imported ActiveX controls are non-visual

I have imported ActiveX controls before and were able to use them same as regular VCL controls. Every now and again I bump into a control that imports fine but doesn't show up at run-time and only show a little block in the designer.
The latest one is an ActiveX wrapper for the Scintilla editor and it shows me a grey block 100 pixels wide and 41 pixels high with the control icon on it. At run-time there's nothing, so it baiscally acts like a non-visual component even though it's supposed to be an edit control.
My questions are:
Has anyone else seen this?
Is this a known issue with Delphi's ActiveX support, or is it more likely an issue with the control itself?
I have never seen this behavior, I suspect it's a problem with the control.

Resources