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

Where do tabs go?

 [1/4] from: sanghabum::aol::com at: 7-Aug-2001 9:21


Hi all, Has someone fathomed out the logic behind VID's tabbing from field to field? This first example does exactly what I'd expect: tab key or enter key cycling round the three data entry fields. unview/all view layout [ label "field1" Field1: field [show field1] label "field2" field2: field [show field2] label "field3" Field3: field [show field3]] But this second example, we go to the next INFO field, and stop there. It takes a mouse to move on. unview/all view layout [ info "field1" Field1: field [show field1] info "field2" field2: field [show field2] info "field3" Field3: field [show field3]] (It's not that I want to use info fields instead of labels. It's just that *any* info field is a focus magnet, and I'd like to know how to stop it). --Thanks, --Colin

 [2/4] from: g:santilli:tiscalinet:it at: 7-Aug-2001 19:28


Hello [Sanghabum--aol--com]! On 07-Ago-01, you wrote: S> view layout [ S> info "field1" Field1: field [show field1] S> info "field2" field2: field [show field2] S> info "field3" Field3: field [show field3]] Just a guess, view layout [ Style info info with [deflag-face self tabbed] ; ... ] (I didn't test the above, but I think that should be the cause.) Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [3/4] from: sanghabum:aol at: 7-Aug-2001 15:27


[g--santilli--tiscalinet--it]
> S> view layout [ > S> info "field1" Field1: field [show field1]
<<quoted lines omitted: 5>>
> ; ... > ]
Great guess! It does the trick in the example. The is the second tip I've seen on this list that uses the 'with dialect word. Is there any documentation on this anywhere? Unfortunately, it doesn't solve the problem in the code I'm writing where tabs go very weird indeed. In some sub-panels a tab from some fields swaps to another sub-panel, I couldn't have coded that if I'd tried....I'll try your guess on the boxes and buttons and LEDs and other things on the panels. Meanwhile, I'll go back to running my personal, internal, Rebol program: Rebol [] Forever [Head Scratch] --Thanks, --Colin.

 [4/4] from: sanghabum:aol at: 8-Aug-2001 19:08


If I can reply to my own post..... My application was getting sick in the head about tabs because I'd used ctrl+I for a shortcut key. Doesn't make much sense, but there you go, On my set up (win 98), this code: unview/all view layout [button "try me " #"^i" [print "button pressed"]] prints "button pressed" whenever I hit the tab key. I've played with other ctrl+letter settings and discoverws that: ctrl+m maps to the return key ctrl+h maps to the backspace key. Does anyone know how to disable this behavior so I can use any of the 26 letter shortcuts? --Thanks, --Colin.

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