Web 1.0 Listbox

Hello all,

I’m using Web1 with a weblistbox. The box is populated but now I want to select, programmatically, certain rows and highlight them.

Can anyone tell me the syntax for doing this?
Thanks,
Tim

1 Like

Got it to work…
FillGridUnits
For i = 0 to grdUnits.RowCount - 1
If val( grdUnits.cell(i, 1)) = val(zon) Then
grdUnits.CellStyle(i, 0) = Selected
grdUnits.CellStyle(i, 1) = Selected
End If
Next i