On Tue, 6 Jan 2026 21:33:27 +0000, Martin Wynne via fpc-pascal
<[email protected]> 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

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to