[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'StdActns' (#lcl)

# TFileOpenWith

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TFileOpenWith - standard action (including opening a dialog) associated with the File Open With menu option.

## Declaration

Source position: stdactns.pas line 186

`type TFileOpenWith = class(TFileOpen)`
`published`
`property FileName: TFileName; [rw]` |  | File name for the Open With action.
`property AfterOpen: TNotifyEvent; [rw]` |  | AfterOpen - event handler to be performed after file is opened.
`end;`

## Inheritance

`TFileOpenWith` |  | TFileOpenWith - standard action (including opening a dialog) associated with the File Open With menu option.
`TFileOpen` |  | TFileOpen - standard action (including opening a dialog) associated with the File Open menu option.
`TFileAction` |  | TFileAction - base class for providing actions associated with various file dialogs and menu options.
`TCommonDialogAction` |  | Dialog action used to create, configure, display, and execute a dialog form.
`TCustomAction` |  | TCustomAction is the ancestor class for TAction.
`TContainedAction` |  | Implements an Action class which has a category and parent action list.
`TBasicAction`
?
`TObject`

## Description

TFileOpenWith is a standard action (including opening a dialog) associated with the File Open With menu option. Gives the User an opportunity to choose the application with which to open a file.

## See also

TFileOpen |  | TFileOpen - standard action (including opening a dialog) associated with the File Open menu option.