Recent

Author Topic: Drag and drop browser link to Lazarus form (Linux)  (Read 738 times)

kapibara

  • Hero Member
  • *****
  • Posts: 610
Drag and drop browser link to Lazarus form (Linux)
« on: December 03, 2022, 08:21:57 am »
Reading the wiki, I'm led to believe there is no support for this? (see topic)

https://wiki.lazarus.freepascal.org/LCL_Drag_Drop
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2007
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Drag and drop browser link to Lazarus form (Linux)
« Reply #1 on: December 03, 2022, 06:59:05 pm »
I did installed and watched, the Wiki is I think not explaining good enough.
Using the "Combo" lets you nearly use any feature you want to have with Drag'n Drop, the DropURL are specific made for that (if I am understanding you correct)
In attachment I show you what's available on my Windows machine and where I get it from.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: Drag and drop browser link to Lazarus form (Linux)
« Reply #2 on: December 03, 2022, 08:41:58 pm »
That package works only for Windows, I think. I'm on Linux Ubuntu.
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2007
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Drag and drop browser link to Lazarus form (Linux)
« Reply #3 on: December 03, 2022, 10:41:16 pm »
That package works only for Windows, I think. I'm on Linux Ubuntu.
I can not test on Linux but in description on screenshot it say gtk2 + windows, so I think it mean for Linux and Windows.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: Drag and drop browser link to Lazarus form (Linux)
« Reply #4 on: December 04, 2022, 06:13:43 am »
The reference to GTK gave some hope, but there are complaints upon compiling:

Code: Pascal  [Select][+][-]
  1. DragDrop.pas(25,3) Fatal: Cannot find Windows used by DragDrop.


I can not test on Linux but in description on screenshot it say gtk2 + windows, so I think it mean for Linux and Windows.
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

six1

  • Full Member
  • ***
  • Posts: 117
Re: Drag and drop browser link to Lazarus form (Linux)
« Reply #5 on: December 04, 2022, 08:55:06 am »
I've adapted this from Leanders Drag&Drop for Delphi to Lazarus.
This ONLY workes for Windows!

kapibara

  • Hero Member
  • *****
  • Posts: 610
Re: Drag and drop browser link to Lazarus form (Linux)
« Reply #6 on: December 04, 2022, 09:36:31 am »
Thanks for the clarification.
Lazarus trunk / fpc 3.2.2 / Kubuntu 22.04 - 64 bit

 

TinyPortal © 2005-2018