API:Vcl.StdActns.TFileOpenWith
Delphi
TFileOpenWith = class(TFileOpen)
C++
class PASCALIMPLEMENTATION TFileOpenWith : public TFileOpen
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.StdActns.pas Vcl.StdActns.hpp |
Vcl.StdActns | Vcl.StdActns |
Description
TFileOpen is the standard action for displaying a file open dialog.
Vcl.StdActns.TFileOpenWith inherits from Vcl.StdActns.TFileOpen. All content below this line refers to Vcl.StdActns.TFileOpen.
TFileOpen is the standard action for displaying a file open dialog.
Add TFileOpen to an action list to add a common file open dialog to your application. Controls such as menu items and tool buttons linked to this action cause the application to display a file open dialog when invoked. Use the OnAccept event to respond after the user selects a file name in the file open dialog or the OnCancel event to respond when the user cancels from the dialog. In the event handler for these events, you can read the file name from the dialog specified by the Dialog property.