|
NG Drag&DropPack
Date: 06.09.2015 (© by LMD Innovative, (http://www.lmd.de or http://www.lmdinnovative.com)
Introduction LMD NG Drag&Drop is a part of Next Generation (NG) package suite. All these packages are based on new IDE and language features of latest Delphi IDE versions. NG Drag&Drop provides the ability to exchange data with other applications via standard Windows OLE drag&drop protocol. There are a lot of common applications, which uses Windows drag&drop:
Windows Explorer (shell) - allows to drag/receive real or virtual file objects. MS Office application (Word, Excel, Outlook, ect), WordPad, other text editors - allows to drag/receive ANSI, Unicode, RTF and HTML text data, images, metafiles, files. Internet Browsers (Internet Explorer, Google Chrome, ect) - allows to drag/receive URLs (to open new page or as a bookmark), text (as search query to open new page), files (as downloads). Adobe Photoshop - allows to drag/receive images. many other high quality Windows applications actually support drag&drop.
NG Drag&Drop provides Fluent Interface API , which is an easy and very convenient way for supporting drag&drop operations, without placing any component on the form. API supports both source and target parts. For example, data dragging (source part) can be initiated as follows:
NGDropSource.AddText('My text') .AddUnicodeText('My text') .Execute;
Following is a short feature list of NG Drag&Drop package:- TNGDropSource component, which allows to drag data from customer's application to any other drag&drop enabled applications.
- TNGDropTarget component, which allows to receive data from any drag&drop enabled application.
- Formal dealing of data formats. Any data drag operation can include any number of formats in dragged data object. There no restrictions of format combinations used. Any drop target as well can be configured to accept any combination of data formats.
- Built-in standard and common formats implementation:
- oCF_TEXT
- oCF_UNICODETEXT
- oCF_BITMAP
- oCF_DIB
- oCF_ENHMETAFILE
- oCF_METAFILEPICT
- oRTF
- oHTML
- oINETURLA (Ansi)
- oINETURLW (Unicode)
- oCF_HDROP
- oFILEDESCRIPTOR
- oFILECONTENTS
- TNGDataFormat base data format class can be subclassed for advanced implementation of complex custom formats. Simple custom formats could be defined declaratively on the top of any existing format class using CustomFormat attribute.
- Data format types shortcuts, such as CF.TEXT for TNGTextFormat, or CF.RTF for TNGRtfFormat.
Features
- Compatible with Delphi and C++ Builder XE2 and higher, including 64bit support for XE2 and higher!
- Supported IDEs:
- Delphi 2010 and higher
- C++ Builder 2010 and higher
- All corresponding Studio Products (RAD Studio 2010 and higher)
- Supported operating systems: Win 2000 or better (including Windows 7 and better)
- Full sourcecode of all controls included. Registered versions include NG util to compile packages on target system.
- Extensive demo projects with sourcecode
- Free updates via Internet
- A Site License covers unlimited number of developers in same organization at one Location
- Free technical support via public forum (forum.lmd.de), e-mail, fax or mail;
- Also available as part of NG Complete or LMD VCL Complete.
Component Overview
Tab "NG DragDrop" |
|
TNGDropSource Allows to configure dragging data and initiate drag&drop operation (source side). |
|
TNGDropTarget Allows to receive dragging data by registering some application's control as a drop target and providing related events like OnDragEnter, OnDragOver, OnDragLeave, OnDrop; and a single OnDragAction event, which can be used instead of all previously mentioned events to simplify code. |
[Top]
|
|