Disabling menu items and buttons



I've created a menu with the ItemFactory and I would
like to be able to disable/enable certain menu
items (as in, grey it out). How could I do that?
Also, is there a way to disable a button?

Thanks in advance.

-- 
+-----------------------------------------------------+
| Jeff "Shippy" Shipman     E-Mail: shippy@cs.nmt.edu |
| Computer Science Major    ICQ: 1786493              |
| New Mexico Institute of Mining and Technology       |
| Homepage: http://www.nmt.edu/~shippy                |
+-----------------------------------------------------+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]