Thanks Antonio,
i tried for an easy way out but i think your solution is the most easy to create and maintain. i was using a [tpanel / timage / tlabel] combo because i want pictures in, but i like using default components more than making my own every time
Chris
Earlier message 30 lines
From: Antonio Fortuny
Sent: Friday, July 05, 2013 9:47 AM
To:
Subject: Re: [Lazarus] TButton, wordwrap
Le 04/07/2013 23:52, Mattias Gaertner a ?crit :
If this email is not spam, click here to submit the signatures to FortiGuard - AntiSpam Service.
On Fri, 5 Jul 2013 00:38:17 +0300
"Chris Crori" wrote:
> Hi gyus,
> can somebody point me to how can i make a TButton?s caption WordWraped?
That is not possible x-platform.
> I would prefer to do have this, but if it is not posible, is there a component that is most used in this case?
I don't know any.
MattiasInstead of a TButton I sometimes use a TPanel as it offers color property as well and OnClick event fires too. Tha Caption could be word wrappable too but I'm not shure.
Antonio.
--