.AddPage method
Posted: Fri Feb 27, 2015 8:13 am
The Cross-Platform Multimedia Application Layer
https://www.hollywood-mal.com/forums/
Code: Select all
Register.ClosePage()
This method will close the page tab specified by "obj". The group object that constitutes the page that is being closed will then change its state from attached to detached. [b]This means that you could attach it now to another register or group using a function like Group.Insert or you could free it using mui.FreeObject().[/b]
Makes sense... I'll consider adding this.djrikki wrote:In similar vein to Group.Insert please can you make it optionally possible to Add a Page before a given obj, defaulting to end of Register if not specified.
Fixed.Another thing, an error in the Documentation...
It is not possible to add a detached register tab back to a register using Group.Insert - the Register.AddPage() method is used.Code: Select all
Register.ClosePage() This method will close the page tab specified by "obj". The group object that constitutes the page that is being closed will then change its state from attached to detached. [b]This means that you could attach it now to another register or group using a function like Group.Insert or you could free it using mui.FreeObject().[/b]