Xojo Conferences
XDCMay2019MiamiUSA

Help please - JPeg and PDF Drag 'N Drop (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: Referring to the window your custom class is in
Next thread: one window or two?


RB Database   -   tom.russell transport.alstom.com
  Help please - JPeg and PDF Drag 'N Drop   -   Lennox Jacob
   Re: Help please - JPeg and PDF Drag 'N Drop   -   Lennox Jacob

Help please - JPeg and PDF Drag 'N Drop
Date: 05.02.06 03:25 (Sat, 4 Feb 2006 18:25:04 -0800 (PST))
From: Lennox Jacob
Hello,

I have an app, PDFApp, which has an icon in its main window, PDF.
If I click on the PDF icon, a new wiondow, PDFWindow, appears and accepts drag and drop.

What I would like is to drag a file directly to the PDF icon and have its contents displayed in PDFWindow.

FileType is already configured

In the open events I have
me.acceptFileDrop("PDF")

In the DropObject events I have
PDFWindow.show

I now need to reference the object (the PDF file) so that its contents is displayed but I just can't get that done.

Kindly assist.

Thanks.

---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: Help please - JPeg and PDF Drag 'N Drop
Date: 05.02.06 04:03 (Sat, 4 Feb 2006 19:03:23 -0800 (PST))
From: Lennox Jacob
OK, Not to bother,I got it now.
Lennox.

Lennox Jacob <<email address removed>> wrote: Hello,

I have an app, PDFApp, which has an icon in its main window, PDF.
If I click on the PDF icon, a new wiondow, PDFWindow, appears and accepts drag and drop.

What I would like is to drag a file directly to the PDF icon and have its contents displayed in PDFWindow.

FileType is already configured

In the open events I have
me.acceptFileDrop("PDF")

In the DropObject events I have
PDFWindow.show

I now need to reference the object (the PDF file) so that its contents is displayed but I just can't get that done.

Kindly assist.

Thanks.

---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
_______________________________________________
Unsubscribe or switch delivery mode:

Search the archives of this list here:



---------------------------------
Yahoo! Mail - Helps protect you from nasty viruses.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>