mIRC Homepage
Posted By: NRJ Disable menu in a DIALOG - 11/07/05 06:59 PM
How can I disable a menu in a DIALOG?

For example:

dialog new_table {
title "New Project"
size -1 -1 512 378
option dbu
menu "Menu", 1
item "Item", 2, 1
}


How can I disable / hide ID 1? (= Menu)


Mathias
Posted By: mIRCManiac Re: Disable menu in a DIALOG - 11/07/05 09:05 PM
~ Edit ~
My bad, sorry about that. Don't know what I was thinking.
Posted By: SladeKraven Re: Disable menu in a DIALOG - 11/07/05 10:16 PM
I didn't think you can disable and hide menues and items.

-Andy
Posted By: MikeChat Re: Disable menu in a DIALOG - 11/07/05 11:32 PM
I tried it just now, and it doesn't disable/hide menus or items.
Posted By: SladeKraven Re: Disable menu in a DIALOG - 12/07/05 12:15 AM
I knew it didn't hide and disable I just didn't want to seem like a smart aleck!

-Andy
Posted By: xhine Re: Disable menu in a DIALOG - 20/07/05 04:01 PM
you mean the styles?

there are the disable and hide styles that you can add at the end. then again, everyone here has been seen to retract their statement, so I don't know if anyone mentioned it.
Code:
 
dialog new_table {
title "New Project"
size -1 -1 512 378
option dbu
menu "Menu", 1,disable
item "Item", 2, 1
}

 
Posted By: MikeChat Re: Disable menu in a DIALOG - 20/07/05 04:09 PM
if you can click on it, it isn't really disabled though, right?
Posted By: NRJ Re: Disable menu in a DIALOG - 24/07/05 12:07 PM
It does not work.
© mIRC Discussion Forums