DesktopPopupMenu

XOJO 2022r1 - Windows 10
In the documentation is written ;
DesktopPopupMenu.SelectionChanged(item As String)

But after converting to ‘Desktop’ controls it becomes ;
DesktopPopupMenu.SelectionChanged(item As DesktopMenuItem)

It acts as a DesktopMenuItem in the code, and I need to use item.text to be able to use it as a string/text.

i suppose this is an error in the documentation ?

Regards
Etienne

You can send an email to docs@xojo.com with page link

Correct, the old documentation is correct:
image

The new documentation is wrong:
image