Accusoft.ImagXpress13.Net
GetItemEnabled Method




A Tool enumeration value associated with the menu item.
An integer value which represents the top-level menu ID.
Gets the enabled status of the specified menu item.
Syntax
'Declaration
 
Public Function GetItemEnabled( _
   ByVal tool As Tool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer _
) As Boolean
'Usage
 
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim value As Boolean
 
value = instance.GetItemEnabled(tool, topMenuId, subMenuId)
public bool GetItemEnabled( 
   Tool tool,
   int topMenuId,
   int subMenuId
)
public: bool GetItemEnabled( 
   Tool tool,
   int topMenuId,
   int subMenuId
) 
public:
bool GetItemEnabled( 
   Tool tool,
   int topMenuId,
   int subMenuId
) 

Parameters

tool
A Tool enumeration value associated with the menu item.
topMenuId
An integer value which represents the top-level menu ID.
subMenuId
An integer value which represents the sub-level menu ID.

Return Value

A boolean value which is true when the menu item is enabled. Otherwise, false is returned.
Remarks

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.

See Also

Reference

ToolbarContextMenu Class
ToolbarContextMenu Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback