I Have a gallery like the picture below; with 2 buttons on each item. One to approve and one to reject. When either is pressed I have a few commands running, like patching a table and sending an email. It takes 2 to 4 seconds to finish and I do not want users to navigate away during this process.
If this was not within a gallery and just a button, I usually have a rectangle popup that says processing via a context variable on the visible property; initially set as False, then when the button is pressed the first command is to set the context variable as true, then the other commands get processed, and finally the context variable is set back to false.
I cannot do this with context variables within a gallery as the popup would cover all the items instead of just the clicked item.
Any advice on how to accomplish this would be greatly appreciated. Thanks in advance!
