[Lazarus] TBitbtn
Juha Manninen
juha.manninen62 at gmail.com
Tue Dec 15 12:16:47 CET 2020
On Mon, Dec 14, 2020 at 11:59 PM Larry Dalton via lazarus <
lazarus at lists.lazarus-ide.org> wrote:
> I am trying to create a tcomponent that will be a tpanel with align set at
> albottom that will have several tbitbtns, the first of which will be kind
> bkclose. I want to set that button’s onclick procedure to close the form
> that the tpanel is on. What is the best way to write the onclick procedure?
>
TButtonPanel already does what you are planning. You can study its code and
then either inherit your own component from it or create a new one.
Regards,
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20201215/7b5e3efa/attachment.html>
More information about the lazarus
mailing list