Vcl.ExtActns.TCustomFileRun.ShowCmd
Delphi
property ShowCmd: TShowCmd read FShowCmd write FShowCmd;
C++
__property TShowCmd ShowCmd = {read=FShowCmd, write=FShowCmd, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ExtActns.pas Vcl.ExtActns.hpp |
Vcl.ExtActns | TCustomFileRun |
Description
Specifies how the launched application window appears.
Use ShowCmd to indicate how you want the application window to appear when TCustomFileRun performs the specified operation on its target file. ShowCmd can have any of the following values:
Value | Meaning |
---|---|
scHide |
The external application window is hidden. If it was active, another window is activated. |
scMaximize |
The external application window is maximized (but not necessarily activated) |
scMinimize |
The external application window is minimized (but not necessarily activated). |
scRestore |
The external application window is activated. If it was minimized or maximized, Windows restores it to its original size and position. |
scShow |
The external application window is activated in its current size and position. |
scShowDefault |
The external application window is shown in the default startup state specified by that external application. |
scShowMaximized |
The external application window is activated and maximized. |
scShowMinimized |
The external application window is activated and minimized. |
scShowMinNoActive |
The external application window is minimized. The active window does not change. |
scShowNA |
The external application window is displayed (after being hidden) but activation does not change. |
scShowNoActivate |
The external application window is displayed in its most recent size and position, but activation does not change. |
scShowNormal |
The external application window is activated and restored to its original size and position if it was maximized or minimized. |