ArcFM Engine Developer Guide
Category Property (IMMTreeTool)


This property specifies a group in which to place the tool in the context menu.
Syntax
'Declaration
 
<DispIdAttribute(1610678276)>
ReadOnly Property Category As Integer
'Usage
 
Dim instance As IMMTreeTool
Dim value As Integer
 
value = instance.Category
[DispId(1610678276)]
int Category {get;}

Property Value

Long
Remarks

This property should not be confused with a component category. This property simply allows tools to be grouped within the context menu. The groups are separated by a spacer bar in the menu.

Developers can place tree tools into existing ArcFM tree tool categories by specifying a value from the mmToolCategory enumeration. Developers can also create a new category by specifying a value not found in mmToolCategory. Miner & Miner reserves the right to alter the enumeration in future releases, which may affect the tools that appear in developer specified categories.

Example
The following code sample illustrates how the Category property should be set:
Visual Basic Copy Code
Private Property Get IMMTreeTool_Category() As Long
    ' Set the category for this tool, make your own or
    ' use the existing categories in Miner.Interop.FrameworkUI.MMToolCategory
    IMMTreeTool_Category = 2001
End Property
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMTreeTool Interface
IMMTreeTool Members

 

 


Send Comment