Class TDropTextSource (unit DropSource) |
Inherits from
TDropSource
IDropSource
IDataObject
constructor Create;
- ----------------------------------------------------------------------------- TDropTextSource -----------------------------------------------------------------------------
destructor Destroy;
function DoEnumFormatEtc(dwDirection: Longint; out enumFormatEtc: IEnumFormatEtc): HResult;
This method is called by the drop target to check whether the source provides data in a format that the target accepts.
function DoGetData(const formatetcIn: TFormatEtc; out medium: TStgMedium):HResult;
Adapted from stefc@fabula.
function DoGetDataHere(const formatetc: TFormatEtc; out medium: TStgMedium):HResult;
function DoQueryGetData(const formatetc: TFormatEtc): HResult;
property Text : string
FText : string;
constructor Create;
----------------------------------------------------------------------------- TDropTextSource -----------------------------------------------------------------------------
destructor Destroy;
function DoEnumFormatEtc(dwDirection: Longint; out enumFormatEtc: IEnumFormatEtc): HResult;
This method is called by the drop target to check whether the source provides data in a format that the target accepts.
function DoGetData(const formatetcIn: TFormatEtc; out medium: TStgMedium):HResult;
Adapted from stefc@fabula.com
function DoGetDataHere(const formatetc: TFormatEtc; out medium: TStgMedium):HResult;
function DoQueryGetData(const formatetc: TFormatEtc): HResult;
property Text : string
FText : string;