Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns or sets the value that indicates whether the form combo box control is hidden from the user.
Syntax
public int userHide([int value])
Run On
Client
Parameters
- value
Type: int
A value that indicates whether the control is hidden from the user; optional.
Return Value
Type: int
1 if the control is hidden from the user; otherwise, 0.
Remarks
The user specifies whether a combo box control is hidden by right-clicking the control when it can be viewed 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. The userHide method lets you programmatically determine and set the value.
Examples
The following example shows how to return and set the value that indicates whether the combo box control is hidden from the user.
int nUserHide;
// The ctrl variable was previously assigned
// as a form combo box control variable.
// Retrieve the userHide value.
nUserHide = ctrl.userHide();
// Set the userHide value.
ctrl.userHide(1);