C-DEngine 5.105

TheNMIEngine..::..SetUXProperty Method (Guid, Guid, String, String, String)

Sets a Property on a NMI Control belonging to a Thing. SubControl defines "DASH", "FORM" or a column's FldOrder in a Table

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

Syntax


public static void SetUXProperty(
	Guid pOrg,
	Guid pUXElement,
	string pProps,
	string pThingMID,
	string pSubControl
)
Public Shared Sub SetUXProperty ( _
	pOrg As Guid, _
	pUXElement As Guid, _
	pProps As String, _
	pThingMID As String, _
	pSubControl As String _
)
public:
static void SetUXProperty(
	Guid^ pOrg, 
	Guid^ pUXElement, 
	String^ pProps, 
	String^ pThingMID, 
	String^ pSubControl
)

Parameters

pOrg
Type: Guid
Specifies a node on which this property shoul be set. If Guid.Empty it will be send to all connected nodes
pUXElement
Type: Guid
The cdeMID of the target control (TheFieldInfo.cdeMID)
pProps
Type: String
Property or properties to be set. Syntax: Name=Value:;:Name=Value...
pThingMID
Type: String
Owning Thing of the control (important for Tables as all rows have the same pUXElement Guid)
pSubControl
Type: String
Sometimes there are multiple fields with the same guid (i.e. in tables), Subcontrol Field Type can then tell what you want to change: the smartlable (20) or the underlying Edit field (i.e. 63 for ThingPicker)