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.
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)).
nDropEffect Foxpro.h constant Description
Drop target does not accept the data as a drop target.
Data can be copied to the drop target.
Data can be moved to the drop target.
Data can be linked to the drop target.
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
OLEDropEffects is a drop target property, and should be set in the OLEDragOver event.