hi all, I'm ok with you Gregg, but I've already tried it ! The problem is: the focus is set on the field, but I can't tape the text I want to search immediately, I must select the field !!! I think the focus is set for the script plugin, but not for the web page ! Do you understand what I mean ? try it at http://lauretprod.web.ool.fr/search.htm So, when you say me *"It works the same whether you use the plug-in or not.",* I'm not agree with you, because with the .r file, I can tape the text to search directly, without selecting the field of course ! NB: I'm trying now a *JScript* script to allow the focus to REBOL ActiveX Plugin... Sorry for my english... ~~Manu~~ 2005/6/23, Gregg Irwin <[EMAIL PROTECTED]>: > > > Hi Manu, > > EL> I'm working on a web page with a rebol plugin: > EL> I'd like to know how to set the focus on a field when the page is > open. > > After creating your layout, use the FOCUS function. It works the same > whether you use the plug-in or not; REBOL is nice that way. > > lay: layout [f: field f-2: field] > focus f-2 > view lay > > -- Gregg > > -- > To unsubscribe from the list, just send an email to > lists at rebol.com <http://rebol.com> with unsubscribe as the subject. > >
-- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
