Does it should work for bold entry in a treeview on OS4 MUI 4?
moai.DoMethod ( self.id, "InsertNode", lead..i, self.parent, "Tail", "\33b"..UpperStr(i))
Displays !b<...>
In the static xml the text formatting works.
Textformatting in tree view
Re: Textformatting in tree view
Oh bugger, it works with \27b
RTFM or bug?
RTFM or bug?
Re: Textformatting in tree view
Ok. It is RTFM not a bug
Sorry for the post flood...
Sorry for the post flood...
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Textformatting in tree view
RapaGUI doesn't support text formatting codes anywhere except in the Textview and Texteditor classes. Remember that RapaGUI represents the lowest common denominator between all the different platforms and on other systems it isn't as simple as in MUI to use text formatting codes.
What you're doing here is simply non-standard programming because RapaGUI doesn't support text formatting codes for Treeview class. Of course, it will work on MUI because RapaGUI just forwards the string you specify to MUI but it won't work anywhere else. You're only allowed to use text formatting codes as explained in the documentation, i.e. just for Textview and Texteditor class. Everything else is non-standard and will only work on MUI...
What you're doing here is simply non-standard programming because RapaGUI doesn't support text formatting codes for Treeview class. Of course, it will work on MUI because RapaGUI just forwards the string you specify to MUI but it won't work anywhere else. You're only allowed to use text formatting codes as explained in the documentation, i.e. just for Textview and Texteditor class. Everything else is non-standard and will only work on MUI...