Creating a an OpenFileDialog to choose a file, I get a “New Folder” button in the lower left hand corner of the Open File Dialog. A bit out of place (not sure why I’d want or need to create a new folder when I am opening a file…) so how do I get rid of it?
dialog = New OpenFileDialog
dialog.Filter = htmlType
f = dialog.ShowModal
There is an option to not show this button, but to get at it, you need to re-write the entire OpenDialog class as Xojo has not exposed the .handle, which would allow us to alter this option.
I have a Feeedback request for exposing the .handle.
this is anyway quite strange.
that you have a “new folder” button for a savefolderitem is normal
but for an openfolderitem dialog, how would you create a folder while opening a file ???