Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   what is the correct filter for that ? (https://www.delphipraxis.net/26594-what-correct-filter.html)

cdkiller 26. Jul 2004 05:21


what is the correct filter for that ?
 
hello,

i have an opendialog box.

and i want to use the "Filter" option but not like

textfiles *.txt
all files *.*

it should be so

textfiles *.txt *.doc *.rtf
all files *.*

dou you know what i mean ?
i want two extensions for one entry which are shown in the explorerbox.

thanks

Regards,
cdkiller

Noinini 26. Jul 2004 06:06

Re: what is the correct filter for that ?
 
Hi cdkiller,

try this: 'textfiles|*.txt;*.doc;*.rtf'.

regards

Noinini

faux 26. Jul 2004 06:35

Re: what is the correct filter for that ?
 
But you also can klick at the three dots right to the "Filter-Field" and then you can seperate the filters with a comma.... That's the most secure way... :P


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:57 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz