[enter image description here](https://i.stack.imgur.com/mG1An.png)Essentially I have a tab panel. There are three tabs. Tab one is inventory items, tab two and three are separate portals that show captured signatures. I need help creating a button that opens my signature capture window, passes through that Sig1/sig2 tab was active/ had focus, and returns the captured signature to the portal in Sig1 tab/ sig2 depending on what is open.

As far as I can tell I would use GetLayoutObjectAttribute, but any information on where to start would be great. Thank you Community.