With conditional formatting, you can change the fill color of the button or the style/color of the button's label text.
Your Filter expression might be something like:
$$Button = "Edit"
Then the script for your "Edit" button would need to include this line:
Set variable [$$Button ; value: "Edit"]
Youd do this for each of your buttons, setting the same global variable to different values and then conditional formats on the buttons will change their appearance as the value of the global variable changes.
Thanks for the quick reply! :-)
thanks to your help, i managed to sort it out :-)