No VoiceOver support with ListBox?

Today a visually impaired user asked me why VoiceOver did not work in Find Any File’s results, which is displayed via a Listbox control.

I assume that’s because the Listbox does not use an NSTableView to show the results but rather draws it all itself.

Is there a remedy to this other than rewriting my code to use an NSTableView? Do more recent Xojo versions support VoiceOver in Listboxes, or did someone make a replacement for the Listbox?

As far as I can tell, GUI AppleScript saw ListBox as Static Text (only one Row), but I had a crash and lost that AppleScript. I do not try to rebuild it.

MBS as usual also has NSTableView. Wanted to bother Christian again to add Drag events. And header handling also is pretty confusing and limited.

[quote=208538:@Thomas Tempelmann]Today a visually impaired user asked me why VoiceOver did not work in Find Any File’s results, which is displayed via a Listbox control.

I assume that’s because the Listbox does not use an NSTableView to show the results but rather draws it all itself.

Is there a remedy to this other than rewriting my code to use an NSTableView? Do more recent Xojo versions support VoiceOver in Listboxes, or did someone make a replacement for the Listbox?[/quote]

Unfortunately ListBox doesn’t have accessibility support yet, but it’s something there have been requests for. <https://xojo.com/issue/16328>