Without cursor table
Posted: Tue Jun 03, 2014 2:34 am
TRichViewEdit insert table, but after insertion form no cursor¡£
For example:
TRVTableItemInfo *table = new TRVTableItemInfo(2 ,2 , rve_->RVData);
table->Color = Graphics::clNone;
table->CellBorderStyle = rvtbColor;
table->CellBorderWidth = 3;
table->CellVSpacing = -1;
table->CellHSpacing = -1;
table->BorderVSpacing = 0;
table->BorderHSpacing = 0;
table->CellBorderColor = 65535;
for (int r = 0; r<table->Rows->Count; r++)
for (int c = 0; c<table->Rows->Items[r]->Count; c++)
table->Cells[r][c]->BestWidth = 50;
bool a = rve_->InsertItem("", table);
Any ideas? Thanks.
For example:
TRVTableItemInfo *table = new TRVTableItemInfo(2 ,2 , rve_->RVData);
table->Color = Graphics::clNone;
table->CellBorderStyle = rvtbColor;
table->CellBorderWidth = 3;
table->CellVSpacing = -1;
table->CellHSpacing = -1;
table->BorderVSpacing = 0;
table->BorderHSpacing = 0;
table->CellBorderColor = 65535;
for (int r = 0; r<table->Rows->Count; r++)
for (int c = 0; c<table->Rows->Items[r]->Count; c++)
table->Cells[r][c]->BestWidth = 50;
bool a = rve_->InsertItem("", table);
Any ideas? Thanks.