S
Sender
I have created a contextmenu and attached with a button on Form1. There are
four items in the menu. menuitem1, menuitem2, menuitem3, menuitem4. If I on
the same form i.e. Form1 then I can hide menuitem by simply writing
menuitem1.visible = false. However, I want to hide them by writing some code
in form2 which I am calling from form1 using:
dim frm as form2
frm2.show
On form2 I have inserted a button wherein I wanted to write code to hide one
of the menuitems of the contextmenu on form1. How would I do that?
Thanks in advance!
four items in the menu. menuitem1, menuitem2, menuitem3, menuitem4. If I on
the same form i.e. Form1 then I can hide menuitem by simply writing
menuitem1.visible = false. However, I want to hide them by writing some code
in form2 which I am calling from form1 using:
dim frm as form2
frm2.show
On form2 I have inserted a button wherein I wanted to write code to hide one
of the menuitems of the contextmenu on form1. How would I do that?
Thanks in advance!