Listbox.Selected(row) and Listbox.RowSelectedAt(row)

The IDE will allow the listbox.selected but will not allow listbox.rowSelectedat
Parameters_listbox.Selected(i)= True
Parameters_listbox.RowSelectedAt(i) = True
2023 r4 macos ventura

Documentation shows the Selected as deprecated so would prefer to use rowselectedat.

What would be causing this?

Appreciate any help

Your application is using a regular ListBox and not a DesktopListbox.
You can check that by the Super:
image

image

Listbox is deprecated, but will work for years.
DesktopListbox is what is added to a new project on newer versions of Xojo.

AlbertoD
Older i get the less i remember.

Thanks