Sorry again to raise an old topic!
I have a similar problem. While porting a Windows application to Linux, I noticed that a filter like "Text File (*.TXT)|*.txt" in the
TOpenDialog will show only the file names ending with
.txt, and not files ending with
.TXT, .Txt, .tXt, .txT, .TXt, etc.
I want a method to show matching file names ending with all lower and upper case combinations of
.txt. For example, in
LibreOffice Open File dialog, if you select
ODF Text Document, the file list will show all the files like this:
a.odt, a.ODT, a.OdT, a.oDt, and so on.
I was expecting something like "ofCaseInsensitiveFilter" type of Option in the
TOpenDialog dialog.
One solution would be to list *all*combinations in
Filter. For a three-letter "extension" we will need 8 of them.
Any other ideas?