<I><FONT COLOR="#663300">My dior! How I am inattentive! You are right, the richtext functions without problem in a modal form. The property "locked" was on .T. an ddid not allow me to publish the ctrl richtext. Thanks ! Now i would like to placea corrector of orthography but with codes rtf, I encounter problems.
LOCAL obj
obj = CREATEOBJECT("excel.sheet") obj = obj.APPLICATION.activeworkbook.activesheet obj.RANGE("A1").VALUE = THISFORM.oleRTF.Text obj.VISIBLE = .T. obj.checkspelling THISFORM.cText = THISFORM.oleRTF.textrtf( obj.RANGE("A1").VALUE ) obj = .NULL.
An solution ?
</FONT></I>
Hi Bernhard,
Just an idea. Save your RTF text to a temp RTF doc, open it with word and make the spellcheck there. See http://support.microsoft.com/support/kb/articles/q271/8/19.asp for the word implementation.
Jose Jose Constant Constant Software Systems Belgium <a href=http://www.constant.be/css target=_blank>Jose's Web Site</a> ©2001 Jose Constant |