C-DEngine 5.105

TheNMIEngine..::..AddTableButtons Method

Adds a Delete/Safe Button to a given Form/Table

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

Syntax


public static List<TheFieldInfo> AddTableButtons(
	TheFormInfo pTargetForm,
	bool AddDetailsButton,
	int pFldOrder,
	int pFlags,
	int pACL
)
Public Shared Function AddTableButtons ( _
	pTargetForm As TheFormInfo, _
	AddDetailsButton As Boolean, _
	pFldOrder As Integer, _
	pFlags As Integer, _
	pACL As Integer _
) As List(Of TheFieldInfo)
public:
static List<TheFieldInfo^>^ AddTableButtons(
	TheFormInfo^ pTargetForm, 
	bool^ AddDetailsButton, 
	int^ pFldOrder, 
	int^ pFlags, 
	int^ pACL
)

Parameters

pTargetForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
The form to add the button to
AddDetailsButton
Type: Boolean
Add the details button to the Table. BEWARE: It will use FldOrder 1
pFldOrder
Type: Int32
FldOrder of the Button. Default is 100
pFlags
Type: Int32
Flags of the Button - default is 0x82 (Only show on First Node)
pACL
Type: Int32
Access Level of the Button - default is 0x80 (Administrator)

Return Value

TheFieldInfo if the button was successfully added