On Mon, 04 Sep 2006 07:35:00 +1000, Robert Poland <[EMAIL PROTECTED]> wrote:
On Sep 3, 2006, at 2:59 PM, Robert Poland wrote:
Hi,
I want to be able to Drag & Drop a file on my app and have it opened.
I have set AcceptFileTypes to accept text files.
I have a method that when selecting Open from the Menu Bar a file will
open.
I would assume that the Drag & Drop needs a link to the method to
accomplish this.
Any hints?
Robert Poland
[EMAIL PROTECTED]
OK, I found that the App has it's own Events, etc.
I put my code in the OpenDocument event but for some strange (to me)
reason it can't see the methods in the rest of the program. Do I need
some secret prefix to cross this threshold?
Robert Poland
[EMAIL PROTECTED]
Hi
I have the menu code in a module, so i call the module directly and not
rely on the menu handler (the menu habdler just points to the module
anyway). Seems to work fine from app.opendocument.
- mark d
_______________________________________________
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>