I was trying to replce the pageview title, as it should be possible per the group.title guide, as follow:
In the xml file
<pageview>
<hgroup ID="Petrol_Data" title="Data" icon="100">
and then in the code
moai.Set("Petrol_Data", "title", Cat_string$[34])
I get the error
Attribute title not recognized for this class
Is this a bug?
Pageview title bug?
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Pageview title bug?
No, it isn't a bug. If you read the documentation of Group.Title you can see that it has an applicability of "I", meaning that the title currently cannot be changed at runtime.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Pageview title bug?
Code: Select all
- New: Group.Title and Group.Icon now have an applicability of ISG instead of just I; this
allows you to change the title and icon of individual pages at runtime; to remove the
icon from a page set Group.Icon to -1; note that on AmigaOS for all Pageview.Modes except
"List" this feature requires at least MUI 4