ArcFM Desktop Developer Guide
Enabled Property (IMMPxControl)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Determines whether the control is enabled.
Syntax
'Declaration
 
<DispIdAttribute(1610678272)>
Property Enabled As Boolean
'Usage
 
Dim instance As IMMPxControl
Dim value As Boolean
 
instance.Enabled = value
 
value = instance.Enabled
[DispId(1610678272)]
bool Enabled {get; set;}

Property Value

Boolean
Example
The following code sample demonstrates how the IMMPxControl::Enabled property may be implemented.
Visual Basic Copy Code

Private Property Let IMMPxControl_Enabled(ByVal RHS As Boolean)

End Property

Private Property Get IMMPxControl_Enabled() As Boolean

Dim pState As IMMPxState
Set pState = m_pPxNode.State

If m_pPxApp.StateEnabled(pState.State, pState.NodeType) Then

IMMPxControl_Enabled = True

Else

IMMPxControl_Enabled = False

End If

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

IMMPxControl Interface
IMMPxControl Members

 

 


Send Comment