Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

set focus on a web page with rebol internet plugin...

 [1/8] from: e::lauret::gmail::com at: 21-Jun-2005 8:29


I'm working on a web page with a rebol plugin: I'd like to know how to set the focus on a field when the page is open. Thanks for help... ~~Manu~~

 [2/8] from: greggirwin::mindspring::com at: 23-Jun-2005 9:02


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

 [3/8] from: e::lauret::gmail::com at: 24-Jun-2005 7:27


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 <[greggirwin--mindspring--com]>:

 [4/8] from: volker:nitsch:gm:ail at: 24-Jun-2005 9:37


If you cant find a solution, you may try a seperate window for the input, with view/new . that behaves more like a real /view-window. On 6/24/05, Emmanuel LAURET <[e--lauret--gmail--com]> wrote:
> hi all, > I'm ok with you Gregg, but I've already tried it !
<<quoted lines omitted: 38>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- -Volker Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem. David Wheeler

 [5/8] from: gchiu:compkarori at: 24-Jun-2005 22:00


>try it at http://lauretprod.web.ool.fr/search.htm
I see just a plugin box there. The source says <PARAM NAME="LaunchURL" value="http://lauretprod.web.ool.fr/search.html"> Shouldn't that be pointing to a rebol script? -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [6/8] from: e::lauret::gmail::com at: 24-Jun-2005 12:21


Hi Graham, <PARAM NAME="LaunchURL" value="http://lauretprod.web.ool.fr/search.html"> Instead of calling the script %search.r, i called it %search.html if you paste the address http://lauretprod.web.ool.fr/search.html in your browser, you can see a rebol script: rebol[] do decompress read/binary http://lauretprod.web.ool.fr/search.shtml In fact, the script is compressed in another file: search.shtml... 2005/6/24, Graham Chiu <[gchiu--compkarori--co--nz]>:

 [7/8] from: e::lauret::gmail::com at: 24-Jun-2005 12:30


Hi Volker, I tried with view/new, but it's the same ! thanks. ~~Manu~~ 2005/6/24, Volker Nitsch <[volker--nitsch--gmail--com]>:

 [8/8] from: greggirwin::mindspring::com at: 24-Jun-2005 9:31


Hi Emmanuel, EL> The problem is: the focus is set on the field, EL> but I can't tape the text I want to search immediately, Ah, yes, I do remember that issue now; got me too. IIRC we ended up *not* setting focus initially, so they had to click into the field to set it, then they could type. An extra step, but not a show-stopper for us. -- Gregg

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted