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.
Determines whether the control should be aligned with other controls.
Syntax
public boolean alignControl([boolean value])
Run On
Client
Parameters
- value
Type: boolean
A Boolean value that indicates whether the form combo box control is aligned with other controls; optional.
Return Value
Type: boolean
true if the control should be aligned; otherwise, false.
Remarks
The upper-left corner of the control is aligned based on the longest label.
Examples
The following example shows a call to the alignControl method to align a form combo box control with other controls, based on the length of the longest label.
boolean bAlign;
// The combo variable was previously assigned
// as a FormComboBoxControl type.
// Retrieve the alignControl property.
bAlign = combo.alignControl();
// Set the alignControl property.
combo.alignControl(false);