Page Tabs (in general)

Discuss GUI programming with the MUI Royale plugin here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Page Tabs (in general)

Post by djrikki »

Hi Andreas,

Just wanted to make sure I haven't missed anything so far in my bug and wish-list reporting. Take a look at the following screenshot in a fresh browser tab.

http://www.lakemarketingandevents.co.uk ... tor000.png

Now here I am particularly focusing on what MUI Royale needs in order to allow for tabbed documents. What is missing at present in v1.0.

* Being able to insert/delete new page groups on the fly ( MIGHT HAVE REQUESTED )
* Being able to change (rename) the title of a page group ( BELIEVE I HAVE REPORTED THIS ONE ALREADY )

So the short question is - has this already been done and ready in v1.1?
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5915
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Page Tabs (in general)

Post by airsoftsoftwair »

djrikki wrote:* Being able to insert/delete new page groups on the fly ( MIGHT HAVE REQUESTED )
This feature requires dynamic creation/deletion of MUI objects on the fly which would require some major changes in MUI Royale
so it's not likely for 1.1.
* Being able to change (rename) the title of a page group ( BELIEVE I HAVE REPORTED THIS ONE ALREADY )
AFAICS, this is not possible with MUI. Even with MUI 4.0 on MorphOS the corresponding MUI attribute is still defined as:

Code: Select all

#define MUIA_Register_Titles                0x804297ec /* V7  i.g STRPTR *          */
I.e. there is no SET applicability which would be necessary to change this on the fly. But maybe there is some tricky way around this.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tabs (in general)

Post by djrikki »

Well thats a bummer on both counts the later even more so. :(
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5915
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Page Tabs (in general)

Post by airsoftsoftwair »

I've just forwarded this question to one of the MUI developers because it seems strange to me that these titles shouldn't be changeable after creation. Let's see what the answer is.
User avatar
airsoftsoftwair
Posts: 5915
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Page Tabs (in general)

Post by airsoftsoftwair »

Ok, so it definitely isn't possible with MUI 3.8 and 3.9. Only MUI 4.0 supports this.
evil
Posts: 185
Joined: Mon Jun 14, 2010 1:38 pm

Re: Page Tabs (in general)

Post by evil »

@djrikki

A possible solution can be seen in the Texteditor "NoWinEd".
It does not use Pages for different textes.
Instead it has a row of buttons, One for each text. If you click a buttom, the Editor-window will be actualised with the new Text.

But It is (in my solution) a bit complicated to just show as many Buttons, as you have textfiles open.
Normally you would make the button bar like this:
<hgroup>
<button/><button/><button/>...
</hgroup>

To just show the buttons you have opened textfiles for, you might try this:

<hgroup>
<hgroup><rectangle/><button/></hgroup>
<hgroup><rectangle/><button/></hgroup>
<hgroup><rectangle/><button/></hgroup>
.
.
.
</hgroup>


All rectangles and buttons get ids.
At initialisation, all rectangles will be shown, and all buttons will be hidden.

So you might for example Create about 100 of these "rectangle-button" groups.
And always, when the user opens/creates a new textfile, the button will be shown and its rectangle will be hidden.
On the other hand, when the user closes a textfile, Its button will be hidden and the (empty) rectangle will be shown.
Button.Label has an applicability of SG.
I hope, you understand, what I mean!

Best regards,
George
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tabs (in general)

Post by djrikki »

I do know what you mean George however I'd rather wait for a proper implementation then fudge something together.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tabs (in general)

Post by djrikki »

@Andreas, wow MUI 4 released on Christmas Eve, I hope you can bring this to MUI Royale in your next release. ;)
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Page Tabs (in general)

Post by djrikki »

Note to self, waiting on this one for TextEdit, e.g. tabbed document browsing.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5915
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Page Tabs (in general)

Post by airsoftsoftwair »

Will be possible once we have support for dynamic object creation in MUI Royale.
Post Reply