Instance Method

setState:

Sets the state of the control.

Declaration

- (void)setState:(NSInteger)value;

Parameters

value

The state the control should be in.

Discussion

A control’s state (for example, checked or unchecked) affects how it is drawn. Note that push buttons are always in the on state.

See Also

Getting and Setting the Control’s State

- state

Returns the state of the control.

Deprecated