Share via


ReasonFormTable.initControls Method [AX 2012]

Hides fields on the Reasons form, based on the menu item from which the form was called.

Syntax

public void initControls(ReasonCodeAccountTypeAll _rcAccountTypeMenu)

Run On

Called

Parameters

Remarks

This method will hide and set the caption for the form from which the helper class was called.

It hides or shows checkboxes found both on the overview and general tab of the form.

It first calls SetControlsVisible to hide all checkboxes and then displays the checkboxes needed.

See Also

Reference

ReasonFormTable Class