dragdrop sample app - Forum

Forum Navigation
You need to log in to create posts and topics.

dragdrop sample app

I compiled the dragdrop sample app as a Windows Desktop Application (EXE) but the drag and drop features do not work. What am I doing wrong?

@fkapnist the slDraggable plugin doesn't work on Internet Explorer.
Two options:

  1. Compile for NWjs instead if you need a Windows executable using slDraggable plugin .
  2. Use the neoDrag plugin instead as it will work in Internet Explorer too.

Take a look at the Solar System drag and drop sample app you can find in the same folder to see how neoDrag plugin works.

Regards.

I compiled the Solar System drag and drop sample app as a Windows Desktop Application EXE file. But it does not work. neoDrag does not stay in place but returns to start when I try to drop.

Download and unzip NW.js from its website and then, on Windows and Linux, copy the compiled files of your app in the same folder of NW.js binaries and then ship them to your users. Make sure nw (or nw.exe) is in the same folder as de generated package.json. Or you can put the files of your compiled app in a folder named package.nw in the same folder as nw (or nw.exe). This last option is recommended

Okay it works

if I run nw.exe it finds my app and runs it just fine....  thanks !

I also downloaded NW.js but still no luck. My compiled app is a Windows EXE file. Should I put that in a folder named package.nw in the same folder as nw.exe ?

 

Too bad it won't "RunInRectangle" for VisualNEO Win ....

The Google Chrome browser (kiosk mode) will RunInRectangle. So maybe it is a better idea to just load up a web app in Chrome and run Chrome in a NEO Win rectangle. It certainly will use less space than NW.js  since almost everyone has Chrome installed now anyway...

.

 

luishp has reacted to this post.
luishp

I also downloaded NW.js but still no luck. My compiled app is a Windows EXE file. Should I put that in a folder named package.nw in the same folder as nw.exe ?

No. You should compile your project as a Web project (no to Desktop EXE file), Be sure to check the NWjs option in VisualNEO Web "App Properties > Platform Options > Web" menu. You can also define your App window properties in the Desktop tab.
Then copy the compiled app into package.nw folder within your NWjs path.
To execute your app just double click nw.exe. You can rename the executable file and change the default icon using a resource editor software.

I have just compiled the Solar System sample app as a NWjs application and it works fine.

Regards.

.