I've just started playing with notes, and I'm impressed how neat they
are :-) One thing I particularly like for testing little snippets of
PP code is the ability to double click a line and have it run.

One thing which would be nice is the ability to customize that double
click action, so that different notes can do different things on a
double click. So I might have one note of "snippets", and a double
click puts the line on the clipboard.

I know I can do this just by having lines of clip.set("whatever"), but
the clip.set call obscures the actual text a bit.

I guess I could do something with a double click key action, caption
list c=PowerProNote, but I'm not sure how I'd pick up the text of the
line being clicked on. I tried

    note.gettext(win.handlefrompoint(xmouse,ymouse))

but that gave an error saying that the note handle was invalid.

Any suggestions? Also, I'd need to get the *line* clicked on, rather
than the whole note text, and I don't see how I'd do that.

Thanks in advance,
Paul.

PS If I do get this working, how would it interact with the normal
   double click action on a note? From my experiments so far (which
   aren't very conclusive, because they are failing...) it looks like
   the normal double click action doesn't occur, which is a shame (as
   I'd likely only want my action to happen for notes in a specific
   category)
-- 
In theory, there is no difference between theory and practice; In
practice, there is. -- Chuck Reid



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to