[Lazarus] The "Use" button in Component List

Ondrej Pokorny lazarus at kluug.net
Mon Jun 28 14:55:06 CEST 2021


On 28.06.2021 13:45, Michael Van Canneyt via lazarus wrote:
> On Mon, 28 Jun 2021, Juha Manninen via lazarus wrote:
>
>> The list opens with Ctrl-Alt-P and is an alternative to the Component
>> Palette.
>> Is the "Use" button somehow useful?
>> A component can be added by selecting it and clicking on designer, or by
>> double-clicking it.
>> The behavior was slightly changed in r64929, issue:
>> https://bugs.freepascal.org/view.php?id=38706
>> Now the "Use" button inserts a component at coord(0,0) right away, 
>> which is
>> the double-click behavior.
>> Should the button be removed?
>
> I don't think you should remove it. The fact that you can/must double 
> click is not immediatly clear. A button has a clear meaning.

Yes, there is no need to delete it. If you remove it, you even cannot 
make the window smaller (you have the "keep open" checkbox there). And 
as Michael stated - the button makes it clear that you can press Enter 
to <use> the component.

Ondrej



More information about the lazarus mailing list