Forum > Designer

Copying a control to the toolbar for temporary selection.

(1/2) > >>

vfclists:
IIRC Delphi has a system where if you need rapid access to a set of one or more grouped controls which may be held in a parent container such as a panel, you can copy it to the components toolbar and select it whenever you want onto a form.

Is that feature available in the Lazarus IDE?

dsiders:

--- Quote from: vfclists on September 01, 2024, 04:04:57 pm ---IIRC Delphi has a system where if you need rapid access to a set of one or more grouped controls which may be held in a parent container such as a panel, you can copy it to the components toolbar and select it whenever you want onto a form.

Is that feature available in the Lazarus IDE?

--- End quote ---

Are you referring to TFrame?

https://wiki.freepascal.org/Frames
https://lazarus-ccr.sourceforge.io/docs/lcl/forms/tframe.html


vfclists:

--- Quote from: dsiders on September 01, 2024, 04:43:22 pm ---
--- Quote from: vfclists on September 01, 2024, 04:04:57 pm ---IIRC Delphi has a system where if you need rapid access to a set of one or more grouped controls which may be held in a parent container such as a panel, you can copy it to the components toolbar and select it whenever you want onto a form.

Is that feature available in the Lazarus IDE?

--- End quote ---

Are you referring to TFrame?

https://wiki.freepascal.org/Frames
https://lazarus-ccr.sourceforge.io/docs/lcl/forms/tframe.html

--- End quote ---

No, not Tframe. It applies to any control you have made some changes to that you want to make permanently available or just for the session. So for instance of you want a panel with a green border, you can create a panel with a green border, place it on the components palette, and any time you want a panel with a green border you just choose it from the component palette.

alpine:

--- Quote from: vfclists on September 01, 2024, 09:06:22 pm ---No, not Tframe. It applies to any control you have made some changes to that you want to make permanently available or just for the session. So for instance of you want a panel with a green border, you can create a panel with a green border, place it on the components palette, and any time you want a panel with a green border you just choose it from the component palette.

--- End quote ---
Doesn't copy/paste do the same thing? :-[

Joanna:
Are you trying to create a custom control and add it to the componets palette?

Navigation

[0] Message Index

[#] Next page

Go to full version