Sets a value indicating which edges of the control are anchored to the edges of its container.
public final void setAnchor( int value )
value
An integer that represents how a control is anchored to the edges of its container. Possible values are constants defined in the ControlAnchor class.
WFCInvalidEnumException thrown if the specified value is not a valid ControlAnchor constant.
See Also getAnchor