If I'm understanding correctly, it's something that I have to deal with in Executive Assistant.
You can look at the code in there (link in signature) to see how it's done. There's a bit of a trick to it, involving pruning and rebuilding that part of the tree so that the control reacts dynamically in the configuration. (ea_Options.lua :: ExecAssist:semiSmart_regrow() if memory serves)
In this case, after you change the 'anchor' control, you'd prune and rebuild the offset.args.x and offset.args.y controls.
|