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 ?
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).
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 )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: wmormar and 29 guests