Hi Jules, would it be possible to add a small method the FileBrowserComponent::getSelectedFile() or getHighlightedFile() method which returns the currently highlighted file regardless of the type of FileChooserMode?
const File FileBrowserComponent::getHighlightedFile() const throw()
{
return fileListComponent->getSelectedFile();
}
The reason I need this is that I am building a sort of Mac column view browser with wildcard filtering (as it is for an audio application) and need to get at the selected row to display the next column. As I am looking for files I need to use loadFileMode which means folders aren’t returned by the getCurrentFile() method.
Hope this doesn’t mess with the Component’s design too much.
Dave.