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

[REBOL] Re: Disabling shortcut Keys for text field entry?

From: agem:crosswinds at: 10-Jul-2001 4:08

RE: [REBOL] Re: Disabling shortcut Keys for text field entry? Hi Brett, [brett--codeconscious--com] wrote:
> > > Any ideas for a simple way to make shortcut keys specific? > > > > > > Maybe a global group of shortcut keys that affect everything and some > > > specific groups that particular faces can belong to? > > > > > > > how much is known about the face of the hotkey? > > could we say > > if any[find hotkey-panel key not in-text-face][allow-hotkey] > > ? > > then we make a panel with file & copy-paste menu > > and one with the 'next-picture -stuff > > > > I'm sorry Volker - I don't understand. I must need more coffee :) > Which is the face of the hotkey, and what is the 'next-picture stuff ? >
um. yes, i was very clear, i see.. :-| my thought was: lets say we have a layout with a sub-layout for global hotkeys, an area for text and another sub-layout with an image and some hotkeys for it (for example). a layout has a pane with some faces. we can check if a face is in a pane with find. so we can use that for grouping: any[ if find global-hotkeys/pane face-with-hotkey[do-it] if not editing-text [do-it] ;we are editing, ignore (image-hotkeys and co.) ] if the event-handler knows the face with the hotkey. i hope it does? usually i have a button-menu with hotkeys which is global. i thought i could use a panel for it. now i prefer an explicit block with this faces. faces-blocks could be better than hotkey-blocks because faces can be named?
> Brett. >