OLEDropAutoLoad property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax BOOL OLEDropAutoLoad

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 OLEDropAllowed 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 OLEDropAllowed is also TRUE, then dropped files are loaded automatically.

FALSE

Dropped files are not loaded automatically.

See Also

Elements:  OLEDropAllowed property, OLEDropFile event

Topics:  Working with the Control: General Behavior
Raster Images: Loading Files