[fpc-pascal] How to make TCheckBox autosize work correctly on Linux?
Bo Berglund
bo.berglund at gmail.com
Wed Jan 7 00:15:34 CET 2026
On Tue, 6 Jan 2026 21:33:27 +0000, Martin Wynne via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
>Hi,
>
>Suggest:
>
>with checkbox do begin
>
>Autosize:=False;
>Caption:='new text';
>Width:=ControlCanvas.TextWidth(Caption);
>
>end;
>
>Martin.
Did not work:
Error: Identifier not found "ControlCanvas"
Where is this item declared?
--
Bo Berglund
Developer in Sweden
More information about the fpc-pascal
mailing list