[Lazarus] TButton, wordwrap

Chris Crori crori49 at yahoo.com
Fri Jul 5 11:34:00 CEST 2013


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


From: Antonio Fortuny 
Sent: Friday, July 05, 2013 9:47 AM
To: lazarus at lists.lazarus.freepascal.org 
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.




--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus




-- 
        
      Antonio Fortuny
      Senior Software engineer

      220, avenue de la Liberté
      L-4602 Niederkorn
      Tel.: +352 58 00 93 - 93
      www.sitasoftware.lu
     
        



--------------------------------------------------------------------------------
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130705/c39d0c94/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jhbchfjf.jpg
Type: image/jpeg
Size: 2306 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130705/c39d0c94/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajgbijcg.jpg
Type: image/jpeg
Size: 921 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130705/c39d0c94/attachment-0003.jpg>


More information about the Lazarus mailing list