Specifies the type of drop operations an OLE drop target supports. Available at design time and run time.
- Specifies the type of drop operations an OLE drop target supports. The following table lists the values for nDropEffect with a description of each.
nDropEffect Foxpro.h constant Description 0 DROPEFFECT_NONE Drop target does not accept the data as a drop target. 1 DROPEFFECT_COPY Data can be copied to the drop target. 2 DROPEFFECT_MOVE Data can be moved to the drop target. 4 DROPEFFECT_LINK Data can be linked to the drop target.
A drop can support multiple drop operations by adding multiple values together for nDropEffect. For example, if nDropEffect is 3, the drop target supports both copy and move drop operations (3 = 1 (copy) + 2 (move)).
OLEDropEffects is a drop target property, and should be set in the OLEDragOver event.
Applies To: CheckBox | ComboBox | CommandButton | CommandGroup | Container Object | Control Object | EditBox | Form | Grid | Image | Label | Line | ListBox | OptionButton | OptionGroup | Page | PageFrame | ProjectHook Object | Shape | Spinner | TextBox | ToolBar