Am 2013-04-25 09:40, schrieb zeljko:
> On 04/25/2013 09:34 AM, Sven Barth wrote:
>> So one might need to adjust the TListBox implementation to support this
>> as well (and I simply assume for now that the other widgetsets also
>> support a horizontal scrollbar in a list box...).
> Afair in lazarus TListBox.ScrollWidth := Canvas.textWidth(longeststring) 
works (at least with qt widgetset).

I think I played already with this but nothing changed (I set 
TListBox.ScrollWidth to arbitrary high values).

And even if it works, would I have to scan all string widths after each change 
to find the widest string and then set TListBox.ScrollWidth to it?
That would be very awkward.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to