ArcFM Engine Developer Guide
InitEditor Method


IMMFieldAdapter
Returns a value from the mmDisplayMode enumeration
This method initializes the editor when it is invoked (when the field is selected for editing). It provides a place to initialize variables for the field editor.
Syntax
'Declaration
 
<DispIdAttribute(5)>
Sub InitEditor( _
   ByVal pFA As IMMFieldAdapter, _
   ByVal eMode As mmDisplayMode _
) 
'Usage
 
Dim instance As IMMCustomFieldEditor
Dim pFA As IMMFieldAdapter
Dim eMode As mmDisplayMode
 
instance.InitEditor(pFA, eMode)
[DispId(5)]
void InitEditor( 
   IMMFieldAdapter pFA,
   mmDisplayMode eMode
)

Parameters

pFA
IMMFieldAdapter
eMode
Returns a value from the mmDisplayMode enumeration
Example
The following code sample demonstrates how the IMMCustomFieldEditor::InitEditor method may be implemented.
Visual Basic Copy Code
Private Sub IMMCustomFieldEditor_InitEditor(ByVal pFA As mmFramework.IMMFieldAdapter, ByVal eMode As mmFramework.mmDisplayMode)
    Set m_pFieldAdapter = pFA
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

IMMCustomFieldEditor Interface
IMMCustomFieldEditor Members

 

 


Send Comment