Double click to Edit Text file code example?

    Mar 07 2011 | 6:26 pm
    I'm sure I'd seen this somewhere but now I can't find it. Is there an SDK example of how to double click to to edit an existing text file from within Max the same way that coll and text do it?

    • Mar 09 2011 | 3:54 pm
      There is a "doubleclick" message to which you can bind.
      HTH, Tim
    • Jul 18 2011 | 5:24 pm
      Sorry, had to change my approach because of the object init routine causing problems. Editing the file after init didn't seem like the way to go.
      Incase anyone stumbles across this thread in the future:
      Example jit.textedit has
      void max_jit_textfile_dblclick(t_max_jit_textfile *x);
      Thanks again Tim. You've been very helpful.