i have ask two:
1.
I insert a new table in my RichViewEdit with following code:
Code: Select all
...
RichViewEdit.InsertItem('',Table);
...
How do I get the cursor into the first cell of the table (Table.Cells[0,0]...)?
2.
With the following code, I reading the current FontInfo and set these for the new table:
Code: Select all
...
TabFontInfo:=RVStyle.TextStyles[RichViewEdit.CurTextStyleNo];
RichViewEdit.ApplyTextStyle(RichViewEdit.CurTextStyleNo);
RVStyle.TextStyles[0].FontName:=TabFontInfo.FontName;
RVStyle.TextStyles[0].Size:=TabFontInfo.Size;
RichViewEdit.InsertItem('',Table);
...
Both tables abruptly have fontsize = 7 after it.
I hope that you understood my questions?
My English is not so good.
Greetings
Crowbar