I don't think they can see files that do not have the extensions you permit. If you set the FilterIndex property to Text|*.txt, they can only see txt files. I imagine that the only way they can see the other files is if you set one of your FilterIndex properties to Any|*.* Wayne (D6)
Borland's Delphi Discussion List <[email protected]> on Thursday, 3 August 2006 at 8:27 p.m. +0000 wrote: >Folx, > >I'm sure I must be mssing something obvious here, since it sounds like >something I've done before.. > >In the file open dialog, how can I prevent the user selecting files with >extensions other than one of the two filter options I have defined? > >Thanks, >Ken >_______________________________________________ >Delphi mailing list -> [email protected] >http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

