OOPS, I forgot to say that you will likely want the field to have the
following properties:

fixedLineHeight = false
lockText = true

This probably goes for both views. You could allow user editing in the
styled text view but I haven't and won't be developing a way to get back
user modified XMLtext. So allowing a user to do that would cause a
difference between the XMLtext and the contents of the field.


>
> Hi Chipp
>
> I'm not sure what you mean the library is on my website for download??????
> www.sweattechnologies.com/rev/
>
> Note to Yves (and others that have had a problem): The files are
> just native
> rev files so if you get a screen full of script then just click the back
> button and then use your browsers "save target as" function on the link.
>
> Remember to save the libXMLtext.rev file to your
> components/save/userscripts
> folder that the Script Library Installer created.
>
> Aha! I just realised you meant how to use it. If you use my Script Library
> plugin then you will be able to read the documentation stored in custom
> properties of the stack for more info.
>
> But here's a mouseUp handler just for a starter:
>
> on mouseUp
>       set the XMLTree of fld 1 to true
>       set the XMLText of fld 1 to "<hello handlerName="params"
> Icon="300">Hello<world>World!</world></hello>"
> end mouseUp
>
> Cheers
>
> > Can you publish scripts for the XMLtree call? thx! (I know to use with
> > 1.1.1b1)
> > -Chipp
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Monte
> > > Goulding
> > > Sent: Friday, June 21, 2002 3:54 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Announcement: libXMLText
> > >
> > >
> > > Sorry, I forgot to give an example script ;-)
> > >
> > > Just create a new field and button on a stack and put in the
> > button script
> > > (watch out for wrapping):
> > > on mouseUp
> > >   set the StyleXMLface of fld 1 "hello","Arial"
> > >   set the StyleXMLsize of fld 1 "hello",16
> > >   set the StyleXMLcolor of fld 1 "world","blue"
> > >   set the StyleXMLbgcolor of fld 1 "world","yellow"
> > >   set the XMLText of fld 1 to "<hello>Hello</hello> <world>World!"
> > > end mouseUp
> > >
> > > There's other stuff but that'll get ya started ;-)
> > >
> > > Cheers
> > >
> > > Monte Goulding
> > > B.App.Sc. (Hons.)
> > >
> > > Executive Director
> > > Sweat Technologies
> > >
> > > email: [EMAIL PROTECTED]
> > > website: www.sweattechnologies.com
> > > mobile: (+61) 0421 138 274
> > >
> > > _______________________________________________
> > > use-revolution mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> > _______________________________________________
> > use-revolution mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to