2.235 .nextactive[integer]
This attribute defines the next active listbox item. It is necessary to specify an index for the definition of next active listbox item
: .nextactive[I]. Using this index, the application can get all active items or find out whether no items, one item or several items are active.
Definition
-
Data type
integer
-
Access
get
Example
dialog D
listbox Lb
{
.multisel true;
.content[1] "He llo";
.content[2] "World ";
.content[3] "!!";
.active[1] true;
.active[3] true;
}
on dialog start
{
variable integer I := Lb.nextactive[0];
while I <> 0 do
print I;
I := Lb.nextactive[I];
endwhile
exit();
}