01-05-2008, 12:07 AM
i have a somehow similar solution for searching in qm,
using that for ages, but its not yet ready for publishing.
i have to digg into your functions to learn more ...
i use middle click on selection and show a menu with options.
here is a snippet:
using that for ages, but its not yet ready for publishing.
i have to digg into your functions to learn more ...
i use middle click on selection and show a menu with options.
here is a snippet:
pp=PopupMenu("open[]find here[]internal help[]qm help[]google[]qm forum")
sel pp
,case 1
,,int mi=qmitem(_s 1)
,,if(mi)
,,,str m.getmacro(_s 1)
,,else
,,,iff(_s)
,,,,run _s
,,,else
,,,,men 32975 win("" "QM_Editor") ;;Go to definition
,,,end
,,err+ end
,,mac+ m;end
,case 2 key Cf;end
,case 3 key F1;end
,case 4 goto qmfind
,case 5 goto google
,case 6 goto forum
,case else end