Code: Select all
TRVTableItemInfo * table;
table = new TRVTableItemInfo(1, 3, RichView1->RVData);
table->Cells[0][0]->Clear();
table->Cells[0][0]->AddNL("One", 1, 1);
RichView1->AddItem("A", table);
table->Cells[0][1]->Clear();
table->Cells[0][1]->AddNL("Two", 1, 1);
RichView1->AddItem("B", table);
table->Cells[0][2]->Clear();
table->Cells[0][2]->AddNL("Three", 1, 1);
RichView1->AddItem("C", table);
RichView1->Format();
How do I get a table with just one row from the above pattern, or something similar?