> 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
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
*** 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
>
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
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
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
>>--