Page 1 of 1

.AddPage method

Posted: Fri Feb 27, 2015 8:13 am
by djrikki

Re: .AddPage method

Posted: Mon Mar 02, 2015 9:04 pm
by djrikki
Hi Andreas,

Really need your input on the ticket, it's been sitting around for a while now and needs putting to bed.

Re: .AddPage method

Posted: Wed Mar 04, 2015 7:51 pm
by airsoftsoftwair
I guess this is solved now?

Re: .AddPage method

Posted: Wed Mar 04, 2015 9:19 pm
by djrikki
Yup, got there in the end. =)

Re: .AddPage method

Posted: Sun Aug 09, 2015 8:44 pm
by djrikki
Ignore above.

Register.AddPage()

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.

Another thing, an error in the Documentation...

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]
It is not possible to add a detached register tab back to a register using Group.Insert - the Register.AddPage() method is used.

Re: .AddPage method

Posted: Thu Aug 20, 2015 4:39 pm
by airsoftsoftwair
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.
Makes sense... I'll consider adding this.
Another thing, an error in the Documentation...

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]
It is not possible to add a detached register tab back to a register using Group.Insert - the Register.AddPage() method is used.
Fixed.

Re: .AddPage method

Posted: Mon Sep 07, 2015 10:51 am
by airsoftsoftwair
There is now a Register.Insert() method which allows you to insert tabs into arbitrary positions.