From: jamshed on 1 Feb 2010 08:23 I have following toolbar, i would like to bind keyboad Control+F key to bring focus on .toolbar,find-string entry widget. gridplus button .toolbar -style Toolbutton { {.add :actredo16 "?Clear Results" ~ClearGrid} \ | {.find :viewmag16 "Find" 10 ~Toolbar:Find} {&e .find- string 32 ~Toolbar:Find + #} | \ {.exit :actexit16 "?Exit" ~Exit} } Any hints? Thanks
From: Adrian Davis on 1 Feb 2010 10:34 > I have following toolbar, i would like to bind keyboad Control+F key > to bring focus on .toolbar,find-string entry widget. > > gridplus button .toolbar -style Toolbutton { > {.add :actredo16 "?Clear Results" ~ClearGrid} \ > | {.find :viewmag16 "Find" 10 ~Toolbar:Find} {&e ..find- > string 32 ~Toolbar:Find + #} | \ > {.exit :actexit16 "?Exit" ~Exit} > } > Try something like... bind . <Control-f> {focus .toolbar,find-string} Best Regards, =Adrian=
From: jamshed on 2 Feb 2010 05:23 On Feb 1, 5:34 pm, Adrian Davis <adr...(a)satisoft.com> wrote: > > I have following toolbar, i would like to bind keyboad Control+F key > > to bring focus on .toolbar,find-string entry widget. > > > gridplus button .toolbar -style Toolbutton { > > {.add :actredo16 "?Clear Results" ~ClearGrid} \ > > | {.find :viewmag16 "Find" 10 ~Toolbar:Find} {&e .find- > > string 32 ~Toolbar:Find + #} | \ > > {.exit :actexit16 "?Exit" ~Exit} > > } > > Try something like... > > bind . <Control-f> {focus .toolbar,find-string} > > Best Regards, > =Adrian= Works like a charm :-) Thanks
|
Pages: 1 Prev: Gridplus2 Notebook Widget Page Focus Event Next: Cannot acces to a DB v8.1.6.0 throug a dblink |