Conversation

Drag and Drop problem

(overview of excerpts from articles in conversation)

Newsgroup: embarcadero.public.delphi.firemonkey

# Lines
wrote on 26-Nov-2013:

Hi, I was trying to add a simple drag n drop functionality to application. It is now much easier to make, but..
There is a general problem of drag n drop functionality in XE4 and probably XE5. Basically it is not possible to drag something to a control, that is placed on layout. I have everything on layouts and drag n drop just not working.
I fixed myself this issue in FMX.Forms by changing following procedure:
{code}function TCommonCustomForm.FindTarget(P: TPointF; const Data: TDragObject): IControl;
var
36
  
Matthias Kary replied on 28-Nov-2013:

Hello,
  I was searching for a long time, how the drag & drop on Firemonkey works.
  Please can u send me an code-sample how i can do drag & drop with listbox or
  stringgrid items ?
  Thx
47
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Fri, 29 Mar 2024 07:55:19 UTC
Copyright © 2009-2024
HREF Tools Corp.