mIRC Homepage
Posted By: RagingDemon picwin right-click... - 27/07/04 06:39 PM
i just wanted to ask why when a menu contains options the rclick event doen' t trigger... for example:

menu @test {
rclick: echo -s right-clicked in $active
}

the above works fine, but:

menu @test {
rclick: echo -s right-clicked in $active
Main menu
.submenu 1: echo -s 1
.submenu 2: echo -s 2
.submenu 3: echo -s 4
}

only opens the menu but the rclick event does not trigger (all other events work fine)... is this a bug?

PS: i' ve checked this only with picwins but i think it' s the same for non-picwin too...
Posted By: tidy_trax Re: picwin right-click... - 27/07/04 08:18 PM
There's another bug kinda related to this:

Code:
menu @t {
  rclick:{ echo -s rclick in $active ( $+ $mouse.x $+ / $+ $mouse.y $+ ) }
}
menu @t {
  rclick2: echo -s clicked rclick2 in $active 
}


Then /window -p @t and right click in the window, the following appears in the status window: * /2:: not connected to server
© mIRC Discussion Forums