Hello,
I need to embed in your program text editor for RTF files. Can I use any ActiveX editor or do I need to create a RichEdit ?
Hello,
I need to embed in your program text editor for RTF files. Can I use any ActiveX editor or do I need to create a RichEdit ?
Richedit
Thank you mr.Rao. As In RichEdit to describe tables ?
Please, To see how the main features of the Richedit control are implemented, see the examples TestRtf.prg and TestRtf5.prg (this example explains how to insert a table) into the samples folder of Fivewin
I've looked at examples with RichEdit and wrote the editor. But there are no examples for working with tables.
Many years ago there was a class TAppBox (for embedding other applications in your window).
Natter wrote:I've looked at examples with RichEdit and wrote the editor. But there are no examples for working with tables.
Many years ago there was a class TAppBox (for embedding other applications in your window).
Use the example TestRtf5.ptg. I can not inser a table. All works correctly but table doesn't appear.
FW 17.12
oRtf:InsertTable( nRows, nCols ) oRtf:aTableFormat[ 1 ] := nRows
oRtf:aTableFormat[ 2 ] := nCols
oRtf:aTableFormat[ 3 ] := 20
oRtf:aTableFormat[ 4 ] := 60
oRtf:aTableFormat[ 5 ] := 0
oRtf:aTableFormat[ 6 ] := CLR_WHITE
oRtf:aTableFormat[ 7 ] := CLR_BLACK
//{ nRows, nColumns, nHeightRows, nWidthColumn, nAlign, nColor1, nColor2 )
RTInsertTable5( oRtf:hWnd, oRtf:aTableFormat )I even rewrote (overread) method InsertTable() in your program. RTInsertTable5() returns TRUE. All good, but table is not inserted
