menu enable/disable problem....??
-
hi , I have two forms , from1 and form2. Form1 is having mainmenu1 and is having menuitems in it. Now when i load form1 , in the load event of form1 i do me.menuitem1.enabled = false . this disables the menu. now i have form2.load in form1 load event. now the problem here is that in form2 i have a button thru which i want the mainmenu of form1 should be enabled. so i have wriiten this code behind btn _click of from2 dim frm1 as new form1 frm1.menuitem2.enabled = true but things dont work??? can somebody plz help me??
-
hi , I have two forms , from1 and form2. Form1 is having mainmenu1 and is having menuitems in it. Now when i load form1 , in the load event of form1 i do me.menuitem1.enabled = false . this disables the menu. now i have form2.load in form1 load event. now the problem here is that in form2 i have a button thru which i want the mainmenu of form1 should be enabled. so i have wriiten this code behind btn _click of from2 dim frm1 as new form1 frm1.menuitem2.enabled = true but things dont work??? can somebody plz help me??