Re: [Gambas-user] Custom List Control

2015-07-31 Thread Fabien Bodard
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

Re: [Gambas-user] Custom List Control

2015-07-30 Thread Patrick Wright
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

[Gambas-user] Custom List Control

2015-07-30 Thread Patrick Wright
I was unaware I was using an outdated version of Gambas. I added the repository for the most recent stable release (or so I thought) to Ubuntu. I will look into using a GridView of ScrollArea. Thanks, Patrick On Jul 29, 2015, at 2:46 PM, Benoît Minisini wrote: > Le 29/07/2015 21:38, Patrick

Re: [Gambas-user] Custom List Control

2015-07-29 Thread Benoît Minisini
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.

[Gambas-user] Custom List Control

2015-07-29 Thread Patrick Wright
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. Everything seems to be going well, however I am unable