angel61606
Joined: Jul 8, 2020 Posts: 106
|
Posted: Oct 13, 2021 8:29 AM Post subject: Custom interactor file extension! |
|
Hi Jarek As I said before i faced an error (Invalid exit code 1) when i was using the dialog file so i had to replace it with custom interactor to fix the error. But the disadvantage that a custom interactor has over dialog file is that even when i determine the file extension, it shows all available files not just those i want to. and this is a big problem for me . i want it to just show those file for which i determined the extension format. for example only .xdf files |
|
jarek
Joined: Oct 22, 2007 Posts: 1056
|
Posted: Oct 13, 2021 9:57 PM Post subject: |
|
The dialog from CustomInteractor is older type and yes, it doesn't behave correctly with extensions. Unfortunately this is out of my control, the limitation is in the java library, so I am not able to improve it.
The DialogFile is newer and more recommended. It was created to replace CustomInteractor's dialog. I can't explain why it crashes your system. If you have a snippet I will take a look. This is the most commonly used file dialog used by many people without a problem. |
|