In searching something for text labels I saw a post that showed how to color the text in buttons by specifying RTF and adding a color parameter.
But the background of the button is still white. I can imagine schemes like creating what I want in a text display object and layering a transparent button over the top. Maybe going whole hog and making part of the button push change the color so on mouse down it seems depressed - not in a Prozac way.
But simple things first - is there a specification for the background color of the button itself?
This topic has been covered on the forum before. In designing the user interface for Panorama X form elements, a top priority was to use Apple code to generate user interface items (buttons, menus, etc). That way we could guarantee that these items would look right and operate correctly according to Apple standards. Because Panorama uses Apple’s code, a form created years ago under OS X 10.9 will still look correct and modern when run on the latest macOS 14 Sonoma system, without requiring any changes to the form.
The downside is that since Apple’s code is used, the appearance can only be customized according to what Apple allows. Apple doesn’t allow the button background to be changed, so neither does Panorama. If Apple ever makes this possible, it will also be added to Panorama. But I don’t think Apple is ever going to do this.
All those fun buttons of days gone by - gone. Sigh. But compatibility is king. Who wants to reprogram every time Apple blows its nose?
Seems a solution would be to put a transparent button over an object that looks like the button. It won’t “wink”, like a button, when pressed, (unless you had two graphics and swapped them with the appropriate timing) but that wink happens so fast that I had to do it just now to see the nano-second flash. If I need button push feedback I can always add a soundbite “click” as part of the press procedure.
Storytime - stop here if you are all “business”
So at Cricket Software, the tech support team would challenge each other in the spirit of advancing skills and diagnosing problems. For example, someone would make a graph/chart with the software and the other techs would have to figure out how it was made. Running the same sheet of paper twice through the printer was “out of bounds”. But you could - spoiler alert - create one graph on top of another.
Or the Mac might be messed with a bit. Long ago, before there was dirt, sounds were a novelty on a computer. There was one in particular. Slowed to normal speed, it was a child’s cry, but speeded up, as it was distributed, it sounded like a woman … er… moaning. Someone thought it would be fun, while I was out for lunch, to assign that sound to every keypress on my computer. When the next tech call came in, I had to use the keyboard, and the user on the other end could hear this … noise and asked if he was interrupting anything and should call back. So that prank crossed the line because it impacted the client.
On the other hand, we had one woman tech in the group and she liked cats. So a cat’s meow was surreptitiously assigned to her computer’s start-up. But “one of us” in the group knew that would be too easy to diagnose. Better to put, say ten silent .snd files (maybe they were the standard startup bing sound) and one meow (named innocuously of course) in her startup sound folder with the selection set to Random. That way, the computer would only “meow” occasionally. If she called a tech over to listen to this strange startup sound and rebooted her computer, odds were it would startup normally.
Anyway, clicking on a matrix cell to trigger a button click sound, yanked that memory from the depths.
The transparent button is unnecessary. In Panorama X you can just add procedure code to an image object directly. In fact, I don’t think I’ve ever used a transparent button in Panorama X.
Usually not worth the effort, but you CAN make it wink.
For what it’s worth, I have an item on the Panorama Database Exchange called " Custom Button Generator" which I put together several years ago. With this you can create various buttons with solid or graduated colors and the ability to flash when clicked and released. I still will occasionally fire this up to generate something for a custom stylized form that I want to look non-Apple. Haven’t used it recently but it worked fine the last time I did use it.