Setting TextEdit.ReadOnly = True prevents the text itself being modified by the user, ok. But all the text attributes of TextEdit1.Format.xxx can be modified. You can test this in the TextEdit example. I wonder if this is a bug or feature? I tend to bug, since the HTML source is changed.
Regards Matti ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user