Instance Method

setCaption:

Sets the text of the label on a push button control.

Declaration

- (void)setCaption:(NSString *)name;

Parameters

name

The text to be used as the label on a push button control.

See Also

Getting and Setting the Control Label Text

- caption

Returns the text of the label on a push button control.

Deprecated