ArcFM Desktop Developer Guide
Init Method (IMMFinder)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

IApplication

Returns a boolean value

IObjectClass

IFindPanelEvents

This method loads the finder object with the Locator Tool as the container and pApp as the Locator's parent. bRequireObjectClass specifies that only pObjectClass can be searched in the finder object. pFindEvents contains callback methods that allow the finder object to send messages to the Locator Tool.
Syntax
'Declaration
 
Sub Init( _
   ByVal pApp As ESRI.ArcGIS.Framework.IApplication, _
   ByVal bRequireObjectClass As Boolean, _
   ByVal pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass, _
   ByVal pFindEvents As ESRI.ArcGIS.ArcMapUI.IFindPanelEvents _
) 
'Usage
 
Dim instance As IMMFinder
Dim pApp As ESRI.ArcGIS.Framework.IApplication
Dim bRequireObjectClass As Boolean
Dim pObjectClass As ESRI.ArcGIS.Geodatabase.IObjectClass
Dim pFindEvents As ESRI.ArcGIS.ArcMapUI.IFindPanelEvents
 
instance.Init(pApp, bRequireObjectClass, pObjectClass, pFindEvents)
void Init( 
   ESRI.ArcGIS.Framework.IApplication pApp,
   bool bRequireObjectClass,
   ESRI.ArcGIS.Geodatabase.IObjectClass pObjectClass,
   ESRI.ArcGIS.ArcMapUI.IFindPanelEvents pFindEvents
)

Parameters

pApp

IApplication

bRequireObjectClass
Returns a boolean value
pObjectClass

IObjectClass

pFindEvents

IFindPanelEvents

Example
The following code sample demonstrates how the IMMFinder::Init method may be implemented.
Visual Basic Copy Code
Private Sub IMMFinder_Init(ByVal pApp As IApplication, _
ByVal bRequireObjectClass As Boolean, _
ByVal pObjectClass As IObjectClass, _
ByVal pFindEvents As IFindPanelEvents)

Set m_frmOIDForm = New frmOIDLocator
With m_frmOIDForm
Set .m_pApplication = pApp
Set .m_InObjectClass = pObjectClass
Set .m_FindPanelEvents = pFindEvents
.m_RequireObjectClass = bRequireObjectClass
End With
End Sub
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

IMMFinder Interface
IMMFinder Members

 

 


Send Comment