How to make button change colour when clicked?

Way back in the long ago, somebody (probably Gary) came up with a technique to make a button flash and/or change colour when it was clicked - as it used to do in Panorama 6.0.

Can somebody please guide me to that post?

Courtesy of Gary:

Also, my Custom Button Generator file in the Panorama Database Exchange produces buttons that flash when clicked.