Moving secure frames depending on having a pet
Hi there,
I've been trying to figure out how to automatically move some of my buttons when the petframe is visible (since it would be above these buttons) and back again when the pet is dismissed. Note that the buttons are still implemented with the old secure templates.
My current solution on paper is as follows:
- anchor my buttons to a an invisible anchor frame (which must be derived from a SecureHandlerTemplate)
- add a child frame to pet frame derived from SecureHandlerShowHideTemplate
- add appropriate _onhide, _onshow snippets
- in the snippets change the height of the anchor frame so that the buttons are moved
I think this solution might work but it is also quite complicated. Might there be an easier way to achieve this result?
|