[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QT5 ListBox Problem


On 3/1/26 6:39 PM, Bruce Steers wrote:
But i guess if Wrap = True then horizontal scrollbar will not even be used,.
If you want to use any Horizontal scrollbar then Wrap must surely be False.

Yes, of course. The logic flow of the code is correct. Only if .Wrap is False does it test if the Scroll.Horizontal bit is set and then act on that condition if it is.

I was merely pointing out that not setting $hView.AutoResize = False causes the text in the ListBox List to be displayed properly. However, I've also found out that if $hView.AutoResize is not set to False, the horizontal scrollbar is not displayed even if it should be.


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: QT5 ListBox ProblemLee <t.lee.davidson@xxxxxxxxx>
References:
Re: QT5 ListBox ProblemLee <t.lee.davidson@xxxxxxxxx>
Re: QT5 ListBox ProblemBruce Steers <bsteers4@xxxxxxxxx>