Class TDroppedObject (unit DropObj)

Inherits from

TObject

The TDroppedObject class encapsulates a generic object dropped on the form

Constructors


constructor Create(const FileName : String);

TDroppedObject.


Functions

function ExtractIconFromFile(const FileName : String; nIndex : Integer) : TIcon;

TDroppedObject.

function GetCaption : String;


function GetIcon : TIcon;


function GetNamePtr : PChar;

TDroppedObject.

Properties

property Caption : String


property Icon : TIcon


property Name : String


property NamePtr : PChar


Events

Variables

FName : String;



Constructors


constructor Create(const FileName : String);

TDroppedObject.Create //////////////////////////////////////////////////////


Functions


function ExtractIconFromFile(const FileName : String; nIndex : Integer) : TIcon;

TDroppedObject.ExtractIconFromFile /////////////////////////////////////////


function GetCaption : String;


function GetIcon : TIcon;


function GetNamePtr : PChar;

TDroppedObject.GetNamePtr //////////////////////////////////////////////////


Properties


property Caption : String


property Icon : TIcon


property Name : String


property NamePtr : PChar


Events


Variables


FName : String;