mIRC Homepage

submenu

Posted By: sparta

submenu - 28/01/04 02:28 PM

somone that know if you can add a submenu to "item" in a dialog? and if you know, how? cant find it in the help file..
Code:
  item break, 60, 49
  item "Effect op/voice", 61, 49
  item "Enable", 62, 49 <<-- submenu to ID 61
  item "Disable", 63, 49 <<-- submenu to ID 61
Posted By: tidy_trax

Re: submenu - 28/01/04 02:29 PM

menu "text", menuid [, menuid]
item "text", id [, menuid]
item break, id [, menuid]
Posted By: sparta

Re: submenu - 28/01/04 02:30 PM

that wont make a submenu.. it will only creat a new menu below the existing one "with a break first"
[edit]
i want it to look like a popup..

Menu
.Submenu
.Submenu2
Posted By: tidy_trax

Re: submenu - 28/01/04 02:31 PM

use popups.dll then:)
Posted By: sparta

Re: submenu - 28/01/04 02:32 PM

thats the only way? :tongue: no identifyer you can use that are in mirc allready? :tongue:
Posted By: tidy_trax

Re: submenu - 28/01/04 02:33 PM

not as far as i know
Posted By: sparta

Re: submenu - 28/01/04 02:34 PM

what a waste frown i wont load another DLL just for 2 small menus.. maybe somthing for the next version of mirc wink

[edit]
i found a way to do this without a DLL.. just me that didnt think befor asking here wink
Code:
menu "Effect op/voice", [color:red]61[/color], 49
item "Enable", 62, [color:red]61[/color]
item "Disable", 63, [color:red]61[/color]

you just change the last number to the same number as the one abow.. "the menu", didnt knwo that worked.. and i guess many with me dont know it so thats why i explained it here smile
Posted By: Online

Re: submenu - 28/01/04 02:49 PM

Code:
dialog x {
  size -1 -1 400 100
  menu "Menu"         , [color:blue]1[/color]
  item "Menu item"    , 2, [color:blue]1[/color]
  menu "Submenu"      , [color:red]3[/color], [color:blue]1[/color]
  item "Submenu item" , 4, [color:red]3[/color]
  item "Menu item 2"  , 5, [color:blue]1[/color]
}
Posted By: tidy_trax

Re: submenu - 28/01/04 02:56 PM

i should of thought of that;\
© 2020 mIRC Discussion Forums