I suggest you to download canvas sources, and open gb.gui.base in the comp
directory with the ide.
In this component you will see how listbox, treeview, iconview, and many
more are made using scrollingarea, gridview (in gambas too), and the paint
class.
For your need I suggest you to be based on
Alright, I have inherited a ScrollArea in my new control and have made sure to
set is .ScrollBar property to Scroll.Vertical. However, when I call my Add
member function which creates a new instance of a TextLabel with Me as the
parent, it does not cause the scroll bar to appear when the items
Le 29/07/2015 21:38, Patrick Wright a écrit :
> Hello,
>
> I am working on a simple, custom control similar to the ListBox using a
> ListContainer and TextLabels. I am using these two items because the
> default ListBox control (and every other list) don't seem to support text
> wrapping or fonts.