Recent

Author Topic: component invisible in Components Palette  (Read 363 times)

Arend041

  • New Member
  • *
  • Posts: 18
component invisible in Components Palette
« on: July 10, 2024, 04:07:30 pm »
My new component is invisible in the Components Palette.

Package created via menu New Package ...
only loaded the necessary files IDEIntf and FCL and the file with the new component.

My new component is visible in Install/Uninstall Packages, with icon with an L and continued with the text:
checkbox with wordwrap
Author: Arend Arendstra
Filename:  D:\lazarus_30\components\myCheckbox\checkboxlaz.lpk
Current state: installed, RunAndDesignTime

When I change a default Checkbox, in a program, from class to sjfCheckbox, it goes well and in the uses, sjfCheckbox is added.

Furthermore, I can use Open Loaded Package ... to load checkboxlaz.lpk.
In Packages link the new component is also visible and the state is valid.

I am using Lazarus 3.2 and FP 3.2.2
What is the block that the new component is not visible the Components Palette?

wp

  • Hero Member
  • *****
  • Posts: 12143
Re: component invisible in Components Palette
« Reply #1 on: July 10, 2024, 04:19:46 pm »
Did you ever use "Tools" > "Environment" > "Component Palette" to rearrange palette pages or reassign palette icons to different pages? If yes there's a good chance that "Restore defaults" (on the same page) can help you.

Arend041

  • New Member
  • *
  • Posts: 18
Re: component invisible in Components Palette
« Reply #2 on: July 10, 2024, 04:48:12 pm »
Indeed this feature solves everything, thank you so much!

wp

  • Hero Member
  • *****
  • Posts: 12143
Re: component invisible in Components Palette
« Reply #3 on: July 10, 2024, 05:10:45 pm »
"Tools" > "Environment" > "Component Palette"
I did not yet find out what makes component icons disappear in this feature, but I suspect that moving palette icons from their "home" tab to another tab might be the culprit. I regularly rearrange pages in order to move the tabs of packages installed later to the beginning of the palette, and this poses no problem.

 

TinyPortal © 2005-2018