Enter this string in the object inspector to get following filter list in your opendialog:
All Files|*.*|Delphi|*.pas;*.dpr|Application|*.exe|Text documents|*.txt All Files Delphi Application Text documents