Foreverurs Posted December 17, 2008 Report Share Posted December 17, 2008 i am trying to create submenus for a few menu items using dcx here is the code that i use to create the main popup menu alias chanpop { if ($xpopup(csm).ismenu) xpopup -d csm xpopup -c csm icy xpop -a csm 1 $chr(9) +s 1 0 Access xpop -a csm 2 $chr(9) +s 1 0 Owner xpop -a csm 3 $chr(9) +s 1 0 Op xpop -a csm 4 $chr(9) +s 1 0 Half Op xpop -a csm 5 $chr(9) +s 1 0 Voice xpopup -s csm +c $calc($mouse.dx + 55) $mouse.dy } i get the arrow at the edge of the popup indicating there is supposed to be a submenu but i cant figure out how to display the menu when i hover over the main menu item any input would be greatly appreciated Jeremy Link to comment Share on other sites More sharing options...
Guest Travis Posted December 19, 2008 Report Share Posted December 19, 2008 Sorry I can't find my dcx popups. It's been a year since I was messing with that. Ok I looked through the dcx help file for /xpopup and was refreshed a bit... Ok when you make a popup with dcx you give each popup an id. Starts with 1. xpop -a csm 1 $chr(9) +s 1 0 Access You named it 1. Ok if you wanted a submenu here, the next line would be ... xpop -a csm 1 1 <code> (1st line in submenu) xpop -a csm 1 2 <code> (2nd line of submenu) xpop -a csm 1 3 <code> (3rd line of submenu) xpop -a csm 2 <code> (2nd line in main menu) xpop -a csm 2 1 <code> (1st line in second submenu) xpop -a csm 2 1 1 <code> (1st line in a submenu off the 2nd submenu) xpop -a csm 2 1 2 <code> (2nd line in submenu off the 2nd submenu) etc. I'm pretty sure this is everything. If you have issues let me know, it may trigger a memory. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now