I noticed that radio title can be set only on the xml
in fact moai.Set("radio1","Title",Cat_string$[2]) gives me an error
But in the light of applying the catalog translations of the whole window contents this would be necessary to have a consistent form.
Is this something achievable?
PS I haven't checked yet but I suspect that also items have this limitation?
radio.title only I
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: radio.title only I
You are correct that the only option you have is to do text substitution on the XML before you initialize the GUI. There are text-based substitution commands that may help the situation. Look at PatternReplaceStr() and ReplaceStr() to do so. I hope to add a template feature into RapaEdit someday to automate the procedure somewhat.
I'm on registered MorphOS using FlowStudio.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: radio.title only I
It's a MUI limitation. MUIA_FrameTitle is only I as well so RapaGUI can't do anything about that.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: radio.title only I
Since newer MUI versions seem to no longer have the limit of a static frame title (see here) I've now changed this for Radio.Title as well.
Code: Select all
- New: Radio.FrameTitle also has an applicability of ISG now instead of I; the same restrictions as with Group.FrameTitle apply