Skip to main content

TcxShellListViewOptions.AutoExecute Property

Specifies if the Shell List View control can launch the default application associated with a file type.

Declaration

property AutoExecute: Boolean read; write; default True;

Property Value

Type Default Description
Boolean True

If True, the Shell List View control launches the default application associated with a file type when a user double-clicks a file shell item or presses the Enter key for a selected file shell item. If False, the control ignores all attempts to open a file.

Remarks

Set the AutoExecute property to False to prevent the default applications from being launched for all file shell items. If you need to prevent the default applications from being launched only for specific shell items, handle the Shell List View control’s OnExecuteItem event.

Note

The AutoExecute property has no effect if the AutoNavigate property is set to False.

The AutoExecute property’s default value is True.

See Also