TMSFMXSpeedButton down indication

I am using the TMSFMXSpeedButton component with Firemonkey in Delphi XE3. If I set the stayspressed property to true then the button shows the highlighted state when it is clicked and stays highlighted until clicked again. However if you set the Ispressed property in code then the button does not show the highlighted state until you mouse over the button.



Is there a way to force the button to update its highlighted state after setting ispressed ?



To answer my own question, you need to set ischecked as well as ispressed property.



If you want multiple buttons highlighted then you also need to have different Groupname set - it is not sufficient to have empty groupname.