RickL Posted March 2 Report Share Posted March 2 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. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted March 2 MVP 2022 Report Share Posted March 2 Easy peasy: I also provided a way to re-enable the toggle button. Quote Link to comment Share on other sites More sharing options...
RickL Posted March 13 Author Report Share Posted March 13 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.