Page 1 of 1

Pageview title bug?

Posted: Sun Dec 11, 2016 9:14 am
by ilbarbax
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?

Re: Pageview title bug?

Posted: Sun Dec 11, 2016 12:01 pm
by airsoftsoftwair
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.

Re: Pageview title bug?

Posted: Tue Mar 28, 2017 9:03 pm
by airsoftsoftwair

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

Re: Pageview title bug?

Posted: Mon Apr 03, 2017 1:33 pm
by ilbarbax
great!