Hi Johan,

In the Editfield.TextChange event, test the selLength property.
This was descibed in the Matt Neuburg's book (Matt calls it the Adrian
Martin's trick, I suppose from its author) :

  if me.sellength > 0 then
    beep
    me.selText = ""
  end if

Best regards.

François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique


le 23/01/07 14:01, jis <[EMAIL PROTECTED]> a écrit :

> Never mind. I¹ve found a workaround, which turned out very cumbersome.
> 
> Johan
> 
> On 22/01/2007, at 10:05 AM, jis wrote:
> 
>> I mean, of course, a way to prevent EditField.DropObject accepting
>> text clippings
>> 
>> On 22/01/2007, at 9:47 AM, jis wrote:
>> 
>>> Is there a way to prevent text clippings being dropped on an
>>> EditField
>>> as EditField.DropObject accepts them without firing any event?
>>> 
>>> Johan Simons

_______________________________________________
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