Getting a list of Drag 'n' Dropped objects.

If your user drags an object onto a list on your form, your BoldFormSaver wont detect it.

If you have a list of objects on your form, and the user drags an object from another form and drops it onto your grid, your BoldFormSaver will not include this object in its DirtyObjects list.



uses

  BoldGUI;





procedure TForm1.BoldGrid1DragDrop(Sender, Source: TObject;

  X, Y: Integer);

begin

  inherited;

  BoldFormSaver1.DirtyObjects.AddList(BoldGUIHandler.DraggedObjects);

end;

 

Share this article!

Follow us!

Find more helpful articles: