FormTreeControl.userHide Method [AX 2012]
Returns or sets the value that indicates whether the form tree control is hidden from the user.
The user specifies whether a control is hidden by right-clicking the control when it is viewable or by right-clicking another control when the original control is hidden. A right-click opens a menu that can be used to hide or display the control. This method lets you programmatically determine and set the value.
The following example shows how to return and set the value that specifies whether the form tree control is hidden from the user.
int nUserHide; // The ctrl variable was previously assigned // as a form tree control variable. // Retrieve the userHide value. nUserHide = ctrl.userHide(); // Set the userHide value. ctrl.userHide(1);
Community Additions
ADD
Show: