Contents

highlight(_:)

Highlights or unhighlights the scroll button the user clicked.

Declaration

func highlight(_ flag: Bool)

Discussion

The receiver invokes this method while tracking the mouse; you should not invoke it directly. If flag is true, the appropriate part is drawn highlighted; otherwise it’s drawn normally.

Special Considerations

This method has no effect in macOS 10.7 and later.

See Also

Related Documentation

Drawing Scroller Parts