Share via


PmfFormCtrl.addSubFormCtrl Method [AX 2012]

Adds another PmfFormCtrl object as a sub-control.

Syntax

public void addSubFormCtrl(PmfFormCtrl _ctrl)

Run On

Called

Parameters

  • _ctrl
    Type: PmfFormCtrl Class
    A sub-control object that will be managed by this control.

Remarks

The base PmfFormCtrl class can hold references to zero or more 'sub-control' classes. The base event methods in the base class will delegate automatically to the same event method in all sub-control classes. For example, when the PmfFormCtrl.initPost method is called, the default functionality will loop through all sub-control classes and call PmfFormCtrl.initPost on them. All concrete sub-classes that override and event method must call the super event method to make sure that this behavior continues to operate correctly.

See Also

Reference

PmfFormCtrl Class