Re: [Gambas-user] columnview count how many are selected

2009-02-09 Thread Joshua Higgins
> Excuse my mistake Joshua Not a problem. Thanks for your help, it is working now! :-) -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use exis

Re: [Gambas-user] columnview count how many are selected

2009-02-09 Thread Jack
Le lundi 09 février 2009 20:01:01 Joshua Higgins, vous avez écrit : > *** Correction > i changed this line: > if columnview1.selected then inc nbc > to this > if columnview1.current.selected = TRUE then inc nbc Excuse my mistake Joshua, you must use columnview1.item.selected but not columnview

Re: [Gambas-user] columnview count how many are selected

2009-02-09 Thread Joshua Higgins
*** Correction i changed this line: if columnview1.selected then inc nbc to this if columnview1.current.selected = TRUE then inc nbc I put a breakpoint in, and if you select more than 1 item in the columnview and run call numeberCount(), it ends up in a infinite loop. 2009/2/9 Joshua Higgins >

Re: [Gambas-user] columnview count how many are selected

2009-02-09 Thread Joshua Higgins
That didn't work I'm afraid. :( Trying exactly as you wrote ended up with the error "unknown symbol "Selected" in class "ColumnView". I changed it to this: nbc as integer = 0 public sub numberCount() Columnview1.movefirst() repeat if columnview1.current.selected then inc nbc until columnvi

Re: [Gambas-user] columnview count how many are selected

2009-02-09 Thread Jack
Le lundi 09 février 2009 19:09:40 Joshua Higgins, vous avez écrit : > Hello, > > I'm using a columnview with the property Mode set to Multiple. What code do > I need to let me count how many are currently selected. I tried > > ColumnView1.Current.Count but that always prints 0. try this Joshua nb

[Gambas-user] columnview count how many are selected

2009-02-09 Thread Joshua Higgins
Hello, I'm using a columnview with the property Mode set to Multiple. What code do I need to let me count how many are currently selected. I tried ColumnView1.Current.Count but that always prints 0. Thanks. -- joshua higgins >>--