Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
DragDrop component from OPM (by Anders Melander)
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
MOVED: Eye Candy TESCheme
by
theo
[
Today
at 10:06:43 am]
Single and Double, Conver...
by
avk
[
Today
at 10:01:23 am]
Which Control should I us...
by
J-G
[
Today
at 09:34:46 am]
storing assets for releas...
by
Handoko
[
Today
at 08:35:23 am]
What am I missing here? [...
by
Handoko
[
Today
at 05:45:28 am]
TCHATGPT — An Artificial ...
by
marcelomaurinmartins@gmai
[
Today
at 02:20:11 am]
[New Component] ExtTabCtr...
by
d7_2_laz
[
Today
at 12:40:37 am]
Mundo Medieval 3D MMORPG ...
by
Rodrigo Robles
[June 14, 2026, 05:26:38 pm]
Fast Canvas Library V1.05...
by
Gigatron
[June 14, 2026, 04:57:35 pm]
Can /my/ AI help me with ...
by
microxa
[June 14, 2026, 02:25:12 pm]
SynEdit theme
by
LemonParty
[June 14, 2026, 02:01:33 pm]
What happened to CocoaWSC...
by
Frank
[June 14, 2026, 01:31:19 pm]
Very rough version of a s...
by
Hansvb
[June 14, 2026, 12:44:31 pm]
Pdf Viewer in Pascal
by
Dzandaa
[June 14, 2026, 11:44:26 am]
Lazarus Bugfix Release 4....
by
Martin_fr
[June 13, 2026, 11:02:41 pm]
Error with last fixes_3.2...
by
Fred vS
[June 13, 2026, 10:49:27 pm]
Lazarus 4.8 on Sourceforg...
by
Enos68
[June 13, 2026, 08:00:47 pm]
Conscious Artificial Inte...
by
Dzandaa
[June 13, 2026, 05:59:22 pm]
If FileExists(
by
Bart
[June 13, 2026, 05:57:26 pm]
docked IDE and form capti...
by
Paolo
[June 13, 2026, 02:53:50 pm]
New version of LazMapView...
by
wp
[June 13, 2026, 12:09:27 pm]
PadXml 1.1.0 – Portable A...
by
AlexanderT
[June 13, 2026, 10:38:42 am]
Arkanoid
by
Tomi
[June 13, 2026, 09:46:46 am]
Interesting video
by
Joanna
[June 13, 2026, 06:24:53 am]
IndySecOpenSSL is now ava...
by
TheMouseAUS
[June 13, 2026, 03:49:17 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: DragDrop component from OPM (by Anders Melander) (Read 682 times)
domasz
Hero Member
Posts: 629
DragDrop component from OPM (by Anders Melander)
«
on:
September 08, 2024, 12:38:47 pm »
I am trying to use Drag Drop component from OPM in my project to drag&drop files from my program to Explorer.
It does work but I want to keep subdirectories and right now all files are dropped to the destination directory without any subdirs.
Here's the code:
https://forum.lazarus.freepascal.org/index.php/topic,68414.msg528825.html#msg528825
Logged
domasz
Hero Member
Posts: 629
Re: DragDrop component from OPM (by Anders Melander)
«
Reply #1 on:
September 08, 2024, 01:37:49 pm »
This is it:
Code: Pascal
[Select]
[+]
[-]
DropFileSource1
.
MappedNames
.
Add
(
'hello\there\kenobi.exe'
)
;
DropFileSource1
.
Files
.
Add
(
'C:\star\trek\gandalf.bmp'
)
;
It copies gandalf.bmp to whatever Explorer directory you choose + hello\there subdir and names it kenobi.exe
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
DragDrop component from OPM (by Anders Melander)
TinyPortal
© 2005-2018