Copy/Cut/Paste Edit Menu Questions?

J. Landman Gay jacque at hyperactivesw.com
Sat Apr 22 11:48:00 EDT 2006


David Burgun wrote:

> I should have asked the question differently! What I meant to say  was, 
> in a menu handler, how can I tell which field is the current  field, and 
> how can I enable/disable Edit Menu Items based on whether  a field is 
> selected or not?

You almost had it: the selectedField.

If no field contains the insertion point, the selectedField returns 
empty. Otherwise you get a field reference.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list