I want to donate this func. it can truncate text on canvas with 3 modes: dots at begin/ at middle of text/ at end of text. Tested in ATTabs demo. Code--

https://github.com/Alexey-T/ATTabs/blob/master/attabs/attabs.pas#L894

char $2026 is ellipsis. Can also use '...' or '..'

--
Regards,
Alexey Torgashin

--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to