trichview.support
How Process text in a invisible RichView |
Author |
Message |
Tavo |
Posted: 01/28/2002 22:47:57 Hello from Buenos Aires I'll try to explain my problem: I'm processing RVF documents with variable words in a massive way. The process is a massive replace of text, but should be invisible. I've put a DBRichViewEdit (with visible:=False) in a Visible Form (the form only show a progress). My routine to replace text is. Procedure TRicV_Proces.ReemplazaStr(OldStr,NueStr:String) ; begin while SearchText( Old_Str , [rvseoDown,rvseoMatchCase] ) do InsertText( New_Str ) ; // After Search, go to beginning Self.SetSelectionBounds( 0,Offs,0,Offs); end ; The replaces works fine until the document have a table with text to replace. At this, look like a DbRichViewEdit need become visible: I get a "Cannot focus a disbaled or invisible window" error. I've "solve" this via set visible:=True and Top:=400. So, the control is out of the little form and is like invisible. The problem appears only with tables. I don't understand. ?Any idea? Thanks Tavo. |
Powered by ABC Amber Outlook Express Converter