I’m following the Web Tutorial for the Task Manager. I’ve got to the point of writing code for the pressed event of the WebListBox. I’ve double-checked, triple checked, and I’ve written the code as per the tutorial, as follows:
If column = 0 Then
If Me.CellTextAt(Me.SelectedRowIndex, 0).IsEmpty Then
Me.CellTextAt(Me.SelectedRowIndex, 0) = "✓"
Else
Me.CellTextAt(Me.SelectedRowIndex, 0) = ""
End If
end If
I get the following error:
TaskManagerPage.TaskList.Pressed, line 2
Extension method String.IsEmpty requires a conversion from type Variant to type String; use CType to explicitly convert first
If Me.CellTextAt(Me.SelectedRowIndex, 0).IsEmpty Then
I’m on a 64 bit Windows 10 machine. Xojo 2022r4.1 (trial)
Any advice appreciated