Accusoft.ImagXpressSdk Namespace > ToolbarContextMenu Class : SetItemEnabled Method |
'Declaration Public Sub SetItemEnabled( _ ByVal tool As Tool, _ ByVal topMenuId As Integer, _ ByVal subMenuId As Integer, _ ByVal enabled As Boolean, _ ByVal exclusive As Boolean _ )
'Usage Dim instance As ToolbarContextMenu Dim tool As Tool Dim topMenuId As Integer Dim subMenuId As Integer Dim enabled As Boolean Dim exclusive As Boolean instance.SetItemEnabled(tool, topMenuId, subMenuId, enabled, exclusive)
When a menu item is enabled, the application end-user can select the menu item. Items that are enabled appear in dark print. Items that are not enabled are grayed out.