C-DEngine 5.105

TheNMIEngine..::..AddStatusBlock Method (TheThing, TheFormInfo, Int32, Int32, Boolean)

Adds a Status Block to a Form. It returns a Dictionary of created fields for Group,FriendlyName,StatusLevel,LastMessage,Value and NodeName

Namespace:  nsCDEngine.Engines.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static cdeConcurrentDictionary<string, TheFieldInfo> AddStatusBlock(
	TheThing pBaseThing,
	TheFormInfo tMyForm,
	int StartFldOrder,
	int pParentFld,
	bool UseBigStatus
)
Public Shared Function AddStatusBlock ( _
	pBaseThing As TheThing, _
	tMyForm As TheFormInfo, _
	StartFldOrder As Integer, _
	pParentFld As Integer, _
	UseBigStatus As Boolean _
) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public:
static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddStatusBlock(
	TheThing^ pBaseThing, 
	TheFormInfo^ tMyForm, 
	int^ StartFldOrder, 
	int^ pParentFld, 
	bool^ UseBigStatus
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
TheThing owning the Form
tMyForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
TheFormInfo of the Form
StartFldOrder
Type: Int32
FldOrder the Status Block should start with
pParentFld
Type: Int32
Parent Fld of the Block
UseBigStatus
Type: Boolean
Shows a big StatusLevel Light if tru

Return Value

a Dictionary of created fields for Group,FriendlyName,StatusLevel,LastMessage,Value and NodeName