Recent

Author Topic: Get TDMemo/TMemo name when filenames being dropped into it but before dropping?  (Read 2228 times)

Elmug

  • Hero Member
  • *****
  • Posts: 849
Hi everyone,

I would like to detect the component name when filename(s) are  being draged into a TMemo or TDBMemo, and before the filename is dropped into it.

I have a parameterized FormDropFiles procedure in which I would like to replace the variable TMemo or TDBMemo name before that procedure reads the contents of the fileName dropped.

Also, I am not sure if when a file is being dragged over a component,  if it is the same as OnMouseOver, or on MouseEnter.

 

TinyPortal © 2005-2018