DropFilesAllowed property (Main Control)
Builder Syntax |
bool DropFilesAllowed |
Delphi Syntax |
DropFilesAllowed: Boolean |
Overview |
Refer to Loading a Bitmap from a File. |
Remarks
(Persistent property, available at design time) Determines whether the Main Control will attempt to load an image file that is dropped onto it in a drag-and-drop operation.
If DropFilesAllowed is TRUE, an OnDropFile event will occur for each file dropped.
The drag-and-drop operation loads the image at its own bits per pixel. If it is a multipage file, only the first page is loaded.
Value |
Meaning |
TRUE |
Loading an image through a drag-and-drop operation is enabled. |
FALSE |
Loading an image through a drag-and-drop operation is disabled. |
See Also
Elements: |
|
Topics: |
|
|