Richtext.prg
Posted: Fri Mar 17, 2006 9:55 am
Hello,
I try to use RTF in mine main aplication.
First I convert memo files in RTF format , txt in the example . In a testprogram next routine works :
DEFINE WINDOW oWnd FROM 0, 0 TO 300, 827 PIXEL ;
MDICHILD OF oWndMain:oWnd ;
TITLE "TRichEdit" ;
COLOR CLR_BLACK, nil
@ 0, 0 RICHEDIT oRTF VAR Tkst OF oWnd
ACTIVATE WINDOW oWnd
Placing this routine in the main project , shows as text from the RTF in his window only {...}
I have no idea why this code works in a separate program and not in the main program . In both cases Txt has the same value and seems to be corect . Xbuilder points in both cases to the same FWH dir
Frank
I try to use RTF in mine main aplication.
First I convert memo files in RTF format , txt in the example . In a testprogram next routine works :
DEFINE WINDOW oWnd FROM 0, 0 TO 300, 827 PIXEL ;
MDICHILD OF oWndMain:oWnd ;
TITLE "TRichEdit" ;
COLOR CLR_BLACK, nil
@ 0, 0 RICHEDIT oRTF VAR Tkst OF oWnd
ACTIVATE WINDOW oWnd
Placing this routine in the main project , shows as text from the RTF in his window only {...}
I have no idea why this code works in a separate program and not in the main program . In both cases Txt has the same value and seems to be corect . Xbuilder points in both cases to the same FWH dir
Frank