K
Keith
Hi Guys,
I'm completely new at this, and I've done a lot of Googling to try to find
the answer to this question, but I don't know if it can be done or whether
I'm searching for the right thing, so please bare with me and here goes...
I want to make an item on a context menu visible only if another
argument/variable exists. What command would I use to make the
contextmenuitem visible. Also is there a way to rename the contextmenuitem
based on an argument/variable? So if x = "1", text = "1" else text = "0"
(the syntax of that probably isn't right, but I'm only using it as a laymans
example).
I've tried things like me.visible = true, menuitem1.visible=true,
ContextMenu.MenuItems.Item visible=true etc but no joy. I've set the
initial visible property as false. I've looked at runtime context menus and
I think this may be the way to go if this isn't possible.
I hope this can be achieved.
Thanks.
Keith (total VB novice).
I'm completely new at this, and I've done a lot of Googling to try to find
the answer to this question, but I don't know if it can be done or whether
I'm searching for the right thing, so please bare with me and here goes...
I want to make an item on a context menu visible only if another
argument/variable exists. What command would I use to make the
contextmenuitem visible. Also is there a way to rename the contextmenuitem
based on an argument/variable? So if x = "1", text = "1" else text = "0"
(the syntax of that probably isn't right, but I'm only using it as a laymans
example).
I've tried things like me.visible = true, menuitem1.visible=true,
ContextMenu.MenuItems.Item visible=true etc but no joy. I've set the
initial visible property as false. I've looked at runtime context menus and
I think this may be the way to go if this isn't possible.
I hope this can be achieved.
Thanks.
Keith (total VB novice).