C-DEngine 5.105

TheNMIEngine..::..AddSmartIcon Method

Adds a smart Icon to a Form

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

Syntax


public static cdeConcurrentDictionary<string, TheFieldInfo> AddSmartIcon(
	TheThing pBaseThing,
	TheFormInfo pMyForm,
	int pFldOrder,
	int pParentFld,
	int pTileHeight,
	string pBackIcon,
	string pFrontIcon,
	string pDefaultColor
)
Public Shared Function AddSmartIcon ( _
	pBaseThing As TheThing, _
	pMyForm As TheFormInfo, _
	pFldOrder As Integer, _
	pParentFld As Integer, _
	pTileHeight As Integer, _
	pBackIcon As String, _
	pFrontIcon As String, _
	pDefaultColor As String _
) As cdeConcurrentDictionary(Of String, TheFieldInfo)
public:
static cdeConcurrentDictionary<String^, TheFieldInfo^>^ AddSmartIcon(
	TheThing^ pBaseThing, 
	TheFormInfo^ pMyForm, 
	int^ pFldOrder, 
	int^ pParentFld, 
	int^ pTileHeight, 
	String^ pBackIcon, 
	String^ pFrontIcon, 
	String^ pDefaultColor
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
BaseThing
pMyForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
Target Form
pFldOrder
Type: Int32
Start Field Order
pParentFld
Type: Int32
Parent Field
pTileHeight
Type: Int32
Height of the icon
pBackIcon
Type: String
Front Icon...should be FontAwesome or similar
pFrontIcon
Type: String
Back Icon...not needed if Front Icon is opqaue
pDefaultColor
Type: String
Base Color for the back icon. Set to transparent if not set

Return Value

List of TheFieldInfo: Group, InnerGroup, BackIcon and FrontIcon