[Lazarus] Setting a groupbox caption bold?
Werner Pamler
werner.pamler at freenet.de
Mon Apr 1 17:23:47 CEST 2019
You did not say that you want to have bold caption for several controls.
In order to "bold" all controls on a form, I use another procedure which
is called from the OnCreate event of a form and recursively iterates
through all controls and their children, seeks for TCustomGroupBox
controls and calls "BoldGroup" for them. Just look at the attachment to
see how it works; the demo contains a hierarchy of various levels of
groupbox containers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bold_Groupbox.zip
Type: application/x-zip-compressed
Size: 5742 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190401/50a1d58b/attachment-0001.bin>
More information about the lazarus
mailing list