PmfFormCtrl.registerCtrlRuleNoGroup Method [AX 2012]

Registers a handling rule for the current object.

protected boolean registerCtrlRuleNoGroup(
    FormControl _formControl, 
    str _ruleFunctionName, 
   [ButtonRuleEffectType _ruleEffect, 
    str _ruleValueStr])

Run On

Called

Parameters

_formControl
Type: FormControl Class
The form control for which to register the rule.
_ruleFunctionName
Type: str
The rule function to register.
_ruleEffect
Type: ButtonRuleEffectType Enumeration
The effect to set; optional.
_ruleValueStr
Type: str
The value to set for the effect; optional

Return Value

Type: boolean
true if the rule has been registered; otherwise, false .

This method is not an event and should not be executed recursively. A particular [rule, control] must only be handled by one manager.

Community Additions

ADD
Show: