RickL Posted March 2, 2023 Report Share Posted March 2, 2023 Hi! Can a toggle button be "disabled from touch" activation programmatically once its been manually set to its "pressed-in" state? I don't want to just "dim" the button in its pressed-in state. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted March 2, 2023 MVP 2023 Report Share Posted March 2, 2023 Easy peasy: I also provided a way to re-enable the toggle button. Link to comment Share on other sites More sharing options...
RickL Posted March 13, 2023 Author Report Share Posted March 13, 2023 Hi Flex! : ) Your "touch inhibit" code worked great! ....... but I had to add "dual resets" for the buttons to work properly. Below represents the three horizontal buttons on my keypad. My first code attempt worked fine in that when you "press any one button" of the three, any previously pressed button "pops up" as is desired. The problem was a visual one, where if you pressed the "same" button again, all three buttons would be in the "un-pressed state". Didn't hurt anything functionally, but presented a visual uncertainty. Now it works perfectly! ...... any selected button stays visually "pressed". Thank-you for your help! Three pop-up buttons.vlp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now