Sign in Join

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

Mailing lists / lazarus / 2010-06

Why no WordWrap in TCheckBox, TRadioButton etc

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Žilvinas Ledas

Hello all,
what is the reason that there is no WordWrap property/feature for TCheckBox, TRadioButton etc?

Regards
?ilvinas

Reply by email

zeljko
to Žilvinas Ledas
?ilvinas Ledas wrote
Hello all, what is the reason that there is no WordWrap property/feature for TCheckBox, TRadioButton etc?

because it's not supported by all widgetsets (and even I don't know which one supports it).

zeljko

Reply by email

Žilvinas Ledas
to zeljko

So, basically it means that TLabel is custom drwan and TCheckBox, TRadioButton are not?

zeljko wrote 17 lines
On Tuesday 22 June 2010 18:40, ?ilvinas Ledas wrote: > Hello all, > what is the reason that there is no WordWrap property/feature for > TCheckBox, TRadioButton etc? > because it's not supported by all widgetsets (and even I don't know which one supports it). zeljko -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Felipe Monteiro de Carvalho
to Žilvinas Ledas

2010/6/22 ?ilvinas Ledas :

So, basically it means that TLabel is custom drwan and TCheckBox, TRadioButton are not?

Indeed. But you can always create your own custom-drawn TCheckBox or TRadioButton.

Felipe Monteiro de Carvalho

Reply by email

Hans-Peter Diettrich
to Žilvinas Ledas: what is the reason that there is no WordWrap property/feature for TCheckBox, TRadioButton…
Hello all, what is the reason that there is no WordWrap property/feature for TCheckBox, TRadioButton etc?

It would complicate a form layout dramatically. Even if the new AutoSize may provide according features (dunno), GUI elements with varying heigth have to be accompanied by accordingly flexible containers (panels, groupboxes...), to be configured by the coder. The average user should not have to struggle with such features, that require a sophisticated layout of every single form, with unpleasant results when not all cases are covered by the design.

DoDi

Reply by email