FMX.Types.TDragObject

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

  TDragObject = record
    Source: TObject;
    Files: array of string;
    Data: TValue;
  end;

C++

struct DECLSPEC_DRECORD TDragObject
{
private:
    typedef System::DynamicArray<System::UnicodeString> _TDragObject__1;
public:
    System::TObject* Source;
    _TDragObject__1 Files;
    System::Rtti::TValue Data;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

TDragObject defines data used for managing drag operations.

TDragObject is used when drag and drop events occur.

Data keeps the data to be dragged or dropped. Data is got from Source or Files.

Usually, Source is the object that starts the drag operation. The Source object and the target objects should have a similar component that can be assigned.

Files keeps the names for source files or buffers.

See Also