(Formerly part of GetButtonPic, which is now obsolete)
(Formerly part of SetButtonPic, which is now obsolete)
int Button.PushedGraphic;
Gets/sets the button's pushed sprite (ie. the graphic used when the button is pushed
in by the user). This can be -1, which indicates that the button does not have a pushed
image.
Example:
Display("The button's pushed image is sprite %d.", btnPlay.PushedGraphic);
will display btnPlay's pushed sprite number.
See Also: Button.Graphic,
Button.MouseOverGraphic,
Button.NormalGraphic
|