Hey Sam,
I know I have seen a thread here about how to disable buttons, here it is, it should help you out for the disabling part: https://rossvideo.community/communities/community-home/digestviewer/viewthread?GroupId=205&MID=21184&CommunityKey=94781415-eb0f-4f9a-b891-c44d41d870c8
I'm not sure how you'd do it based on the colour thing though! I know how to set button colours, but I don't know a way to callback to see what colour a button is. Not to say there isn't a way, I just don't know it! Might be a lot of extra work depending on how many times you need to do it, but one way to do it would be for whatever is setting the button to grey is also setting a separate "grey status" parameter in the background to 0 or 1 and you call on that if there is no way to call the colour directly.
------------------------------
Jake Lew
Access Communications Co-Operative Limited
Regina Canada
------------------------------
Original Message:
Sent: 07-04-2024 00:22
From: Sam McIntosh
Subject: Disable a Button if it is a certain color
Is it possible to disable a button from being pressed if it is a certain color.
For example If the color of the button is grey it can't be clicked.
------------------------------
Sam McIntosh
National Rugby League
Australia
------------------------------