Announcement: libXMLText

Monte Goulding monte.goulding at senet.com.au
Fri Jun 21 03:58:02 EDT 2002


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: monte at sweattechnologies.com
website: www.sweattechnologies.com
mobile: (+61) 0421 138 274




More information about the use-livecode mailing list