> I'm trying to use win.lastmouse along with filemenu.
>
> win.lastmouse(1)
> local res = filemenu("extsort.txt")
> win.debug(win.lastmouse(0),res)
>
> trying to show in the debugger I can see only the result if I click
> the left mouse button
> (debug = 1 E:/Download/New/nirext.zip)
> or the right button ,but without the result
> (debug = 3)
> I made sure that right select it's own command on setup->all menus
> but it does not help - what can I do to make it work ?
Update - Unticking the option in powerpro (right selects it's own
command) - strangly fixed the problem.
To make the context menu work add the following line in the code:
runcmd = replacechars(runcmd,??/?,??\?)
right after:
if (ResMouse == 3) do
I.E
if (ResMouse == 3) do
runcmd = replacechars(runcmd,??/?,??\?)
exec.contextmenu(runCmd)
endif
> Also - no matter what I tried , I never succesfully assigned an
icon
> to an item in the menu by using the ::index,iconfile syntax , no
> matter what form I use filemenu or showfile. Is there a tick I
should
> tick somewhere for that (I've got properties icon size 16 put in
the
> file menu)
>
This one Haven't Solved yet..
Avi