Tutorial - Task Manager - WebListBox - pressed event

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

It’s a documentation error. Try this:

If column = 0 Then
  If Me.CellTextAt(Me.SelectedRowIndex, 0).StringValue.IsEmpty Then
    Me.CellTextAt(Me.SelectedRowIndex, 0) = "✓"
  Else
    Me.CellTextAt(Me.SelectedRowIndex, 0) = ""
  End If
End If

Thank you, I thought as much. Just after posting my issue, I noticed that the .IsEmpty was not kicking in with the auto populate feature, so I tried this:
If Me.CellTextAt(Me.SelectedRowIndex, 0) = "" then
And that worked as well.