DropAutoLoad property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool DropAutoLoad

Delphi Syntax

DropAutoLoad: Boolean

Overview

Refer to Loading a Bitmap from a File.

Remarks

Determines whether the Main Control will automatically load an image file that is dropped onto it in a drag-and-drop operation.

If this property is set to TRUE and the DropFilesAllowed property is set to TRUE, any files dropped onto the LEAD control will be loaded automatically. The default value is TRUE.

Value

Meaning

TRUE

If DropFilesAllowed is also TRUE, then dropped files are loaded automatically.

FALSE

Dropped files are not loaded automatically.

See Also

Elements:

DropFilesAllowed property, OnDropFile event

Topics:

Working with the Control: General Behavior

 

Raster Images: Loading Files