Michael,
Thanks for you suggestion but "select empty" was actually my first attempt. It worked in version 2.7.2. In 2.8.1 it prevents copying and pasting. I presume the selection is lost between the time it is copied and the time it is pasted.
Paul Looney


-----Original Message-----
From: Michael Binder <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tue, 29 May 2007 5:06 pm
Subject: Re: Closing a field by clicking a button -OS X

Hi Paul, 

you wrote: 

The problem occurs when the user clicks a button, or 

uses the menu to leave the card. On OS X the closeField 

command is not sent when leaving a field under these 

circumstances - the field never loses focus. 
 

Your "problem" is an important feature!  When you 

click a button or a menu, you often need to know what 

the selected text is so that you can do something with 

it (e.g. make it bold or italic).  There is a simple 

solution:  just put the following line in a mousedown, 

mouseup, or menupick handler: 
 

  select empty 
 

When you 'select empty' a closefield will be sent to 

the field with the selected text if the contents of 

the field have changed. 
 

--Michael Binder 
 

_______________________________________________ 

use-revolution mailing list 

[EMAIL PROTECTED]

Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 

http://lists.runrev.com/mailman/listinfo/use-revolution 






________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
=0
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to