realbasic-nug
[Top] [All Lists]

Re: Editfield text Drop Question

To: RB NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Editfield text Drop Question
From: Maury McCown <maury at mccowns dot us>
Date: Sun, 30 May 2004 23:00:34 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
On 5/30/04 10:37 PM, Phil Heycock uttered the following:

> In the EditField's DropObject event:
> 
> SUB DropObject (Obj As DragItem)
>     IF Obj.TextAvailable THEN
>       // create a method to test whether the dropped text
>       // is a valid URL, and process accordingly.
>       processURL Obj.Text
>     END IF
> END SUB

Been there, done that ? nothing is fired. I even went as simple as this code
in the EF¹s DragItem event:

If obj.TextAvailable then
    MsgBox "Worked."
else
    MsgBox "Didn't work."
End if

It seems that RB¹s EF isn¹t recognizing a text drop like I¹m wanting to do.

=(

Take care,
Maury
===========================================
RAILhead Design: ³Giving the planet a makeover²
news | icons | desktops | fonts | software | more
< http://www.railheaddesign.com/ >
===========================================



_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

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

<Prev in Thread] Current Thread [Next in Thread>