ListBox Example - Xojo 2021r3.1

I happened to runthe ListBox example coming with Xojo 2021r3.1. It gives me a plethora of errors.
I wouldn’t call it a good example to work on.

You could try fixing the errors. It would be a good exercise.

1 Like

I agree but being an example, targeted to some poor soul like me starting to learn things, it would had been better if it were spotless

3 Likes

I’ve fixed it.

Basically replacing method name fixes it.

They’ve already done the change in Super (Desktoplistbox is the API2.0 version).

There is still something wrong with dark theme on Mac that I did not bother checking/fixing for that example. Also fiddling with Column Widths for the DeskopListbox can crash the IDE on Mac (intel). Can’t reproduce is though