Adds a menu item to the pop-up menu for this PropertyManager page.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddMenuPopupItem( _
ByVal ID As System.Integer, _
ByVal ItemText As System.String, _
ByVal DocumentType As System.Integer, _
ByVal HintText As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IPropertyManagerPage2
Dim ID As System.Integer
Dim ItemText As System.String
Dim DocumentType As System.Integer
Dim HintText As System.String
Dim value As System.Boolean
value = instance.AddMenuPopupItem(ID, ItemText, DocumentType, HintText) |
Parameters
- ID
- Unique user-defined value for this pop-up menu item
- ItemText
- Text for pop-up menu item
- DocumentType
- Document types for which this pop-up menu item is displayed as defined in swDocumentTypes_e
- HintText
- Text displayed in the SolidWorks status bar when the user moves the cursor over this pop-up menu item
Return Value
True if the pop-up menu item is added, false if not
Remarks
See Also
Availability
SolidWorks 2007 FCS, Revision Number 15.0