Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-07

TButton, wordwrap

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to Chris Crori
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.

Mattias

Reply by email

Antonio Fortuny
to Mattias Gaertner

Le 04/07/2013 23:52, Mattias Gaertner a ?crit :

Show quoted text 18 lines
If this email is not spam, click here to submit the signatures to FortiGuard - AntiSpam Service. <http://nospammer.net/SubmitSpam/submitspam.php?id=I3RVAXsTCn5deVpeeExxUg__&sig=e3g1KQ9GlHloIzFkaiVlcHl4NCt2MTNwOFjQVGolZXB5eDQrdjEzcDEiObhqJWVweXg0LHYxM3AxIjmlaiVlcHl4NC92MTNwJgGBUWolZXN5eDQsdjEzZQtRXh4DEVwxABlcQxkfUBsFIzFsaCVlcXl4NCxSfVIOCVFEHypJDAINCxpAF0tSBh1QHwoYQAABGAtXTRofXAYPIzFsaCVlcXl4NCxKWUcAGBkeQwZMFgUKVlhNDFBBARsNVx4PQBUQChtVQFheQRNHTlAFBkgEH1YUXV8CWF0SBwxdDRBEFwQKeDQscjEzdGgjMWxyJWVxe3g0LnKJaWnGwGUPdHt3wfdrRMmI> 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. Mattias

Instead 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.

Show quoted text 9 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Sita Software *Antonio Fortuny* Senior Software engineer 220, avenue de la Libert? L-4602 Niederkorn Tel.: +352 58 00 93 - 93 www.sitasoftware.lu <http://www.sitasoftware.lu> Your IT Partner -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130705/313afa3c/attachment.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.freepascal.org/pipermail/lazarus/attachments/20130705/313afa3c/attachment.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.freepascal.org/pipermail/lazarus/attachments/20130705/313afa3c/attachment-0001.jpg>

Reply by email

Chris Crori
to Antonio Fortuny

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. --

Reply by email