Re: [Gambas-user] listBox loop selected

2009-09-22 Thread Dan Sheffner
I want all selected values from the listBox. On Tue, Sep 22, 2009 at 11:04 AM, Dan Sheffner wrote: > Can someone please give me the code to loop through a listBox and put all > values into a string array? > > I would think this would be very straight forward but I'm having a

[Gambas-user] listBox loop selected

2009-09-22 Thread Dan Sheffner
Can someone please give me the code to loop through a listBox and put all values into a string array? I would think this would be very straight forward but I'm having a very hard time finding any documentation on this or an examples. Thanks in advance. ~Dan --

Re: [Gambas-user] listBox loop selected

2009-09-22 Thread Dan Sheffner
N Left(Res, Len(Res) - 1) ENDIF END '---- On Tue, Sep 22, 2009 at 11:06 AM, Dan Sheffner wrote: > I want all selected values from the listBox. > > > On Tue, Sep 22, 2009 at 11:04

Re: [Gambas-user] Treeview auto resize

2009-09-17 Thread Dan Sheffner
; <-- always 99 .Columns[$Col].Width = MaxWidth NEXT END WITH END On Thu, Sep 17, 2009 at 8:00 PM, Dan Sheffner wrote: > Does anyone have a sub or the code to automatically resize columns on

[Gambas-user] Treeview auto resize

2009-09-17 Thread Dan Sheffner
Does anyone have a sub or the code to automatically resize columns on a trueview to fit text? Thanks in advance. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to

Re: [Gambas-user] GridView adjust column length

2009-07-05 Thread Dan Sheffner
> .Row = $Row > IF .Font.Width(.Current.Text) > MaxWidth THEN > MaxWidth = .Font.Width(.Current.Text) + 10 > END IF > > NEXT > .Columns[$Col].Width = MaxWidth > NEXT > > END WITH > END >

[Gambas-user] GridView adjust column length

2009-07-02 Thread Dan Sheffner
I'm filling a very simple GridView with the below code but I cannot adjust the column length. I have resizable set to TRUE and I have also tried to do GridView1.resizable = TRUE after the grid is populated with the values. Am I missing something or using the wrong property? Also is there an auto

[Gambas-user] GridView adjust column length

2009-07-02 Thread Dan Sheffner
I'm filling a very simple GridView with the below code but I cannot adjust the column length. I have resizable set to TRUE and I have also tried to do GridView1.resizable = TRUE after the grid is populated with the values. Am I missing something or using the wrong property? Also is there an auto