Forum > LCL

TListBox does not show its TScrollbar

(1/1)

Mangafreak1995:
Hey guys,

I'm filling my Listbox but there is no horizontal or vertical Scrollbar appearing when the size does not fit. I tried to search for this but I got only sites where the Scrollbar shall disappear (via WindowsMessages, I'm using Linux). I also tried to put the ListBox into a Scrollbox and everytime I add an item I changed the Listbox.Height to Listbox.ItemHeight * ListBox.Items.Count, but I do not see any Scrollbars.

Hope you can solve my problem.

Thanks in regards
    Mangafreak

Dibo:
Hm, I have scrollbars (see attachment).
Please add more details (interface, lazarus version). I am using Linux with GTK (maybe your issue is QT widget problem) and latest lazarus 0.9.31 from SVN

Regards

Blaazen:
I just tried with Qt 4.7.1 and works well. Note that I added long line at design time.

Mangafreak1995:
Sorry for late reply.

my Lazarus information:

--- Quote ---Lazarus 0.9.28.2-8ubuntu1 r22277 FPC 2.4.0 i386-linux-gtk 2 (beta)
--- End quote ---

but I just recognized that my Listbox was wider than its parent control so I just could not see the Scrollbar  :-\ Sorry for this dumb thread but thanks for your help.

Navigation

[0] Message Index

Go to full version