Selection strategies

J. Landman Gay jacque at hyperactivesw.com
Fri Feb 27 00:11:51 EST 2004


On 2/26/04 4:11 PM, Richard Gaskin wrote:

> I'm making a toolbar in a palette window which modifies text in a field 
> in a toplevel stack.  I find that when text is selected in the field the 
> palette buttons work great, but if the cursor is inserted with no 
> selection then clicking in the palette window causes the field to lose 
> focus.
> 
> Any of you know how to make that work?
> 

Looks like a bug to me. The palette sees the selectedField as empty when 
no word is selcted, even if the insertion point is placed. There should 
be a value in both cases, I think.

I couldn't get it to work.
-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list