On Sep 3, 2006, at 4:48 PM, Mark Davis wrote:

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

Maybe I'm just spittin the wind but I hate the idea of re-creating (duplicating) all the methods used with the open command.

It appears that the module approach still won't access the methods in the main body.

Robert Poland
[EMAIL PROTECTED]



_______________________________________________
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>

Reply via email to