On 07/01/2026 09:39, Bo Berglund via fpc-pascal wrote:
Still not working: Error: Identifier not found: GetTextSize
Hi, It relates to the widget set and destination platform. Try this instead: with checkbox do begin AutoSize:=False; Caption:='new text'; Width:=Canvas.TextWidth(Caption)+30; end; Which is working fine here. cheers, Martin. _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
