Number box select / deselect (?) key focus


    Jan 15 2007 | 3:08 am
    I know you can select a number box, either by clicking or sending it the select message (nice with the tab function, using the number box's right outlet). Is there a way to deselect a number box without clicking on the background? Like a general "keyfocus isn't specified" message to Max?
    What's happening is I have a draggable panel that I want to snap to a grid while the "s" key is being held down. If the last object selected / edited is a number box (that is, if any number box currently has focus), the s key (and other keystsrokes for that matter) do get read, but the resulting behavior is strange -- like it's in some "no-man's land" between being interpreted as a keystroke or going into the number box (which it doesn't appear to). Rather tough to explain, but if there's a message to remove keyfocus, that's all I'm after.
    --CJ

    • Jan 15 2007 | 3:48 am
    • Jan 15 2007 | 3:51 am
      press esc or just wait 10" for previous patch
    • Jan 15 2007 | 5:21 am
      That's great -- very clever! This should prove helpful.
      Don't want to be asked to save changes (creating the dummy number box changes the patch). So I attached the output of the delay to a "clean" command for thispatcher too.
      --CJ