Select element in a FileBrowser or TableListBox


#1

Is it possible to select by code (so that it gets highlighted) a specific line/row of a FileBrowser (fb) or TableListBox (tb)?
I could not find any methods like
fb.setSelectedFile(int index)
or
tb.setSelectedRow(int index)


#2

It’s ListBox::selectRow


#3

so simple… thanks!
works as expected for a tablelistbox but i am not able to use it for a FileBrowserComponent