Firemonkey speedbutton remains pressed


Make a button navigation menu.
usage method:

Add multiple speedbutton controls

Set custom style, add rectangle and coloranimation

Set properties separately to show shadows when sliding

Problems encountered:
After the button is triggered, the mouse leaves the button, and the button state is gone. How to keep the shadow state pressed? Also, when switching other buttons, how to clear the status of the last click button.
Thanks for helping my friend.

Comments are closed.