JadeRichText in Table.cellControl
Posted: Fri Jan 22, 2010 7:29 am
Hi,
I am trying to make a special table that uses JadeRichText control in each cell.
I have tried the following code, but the issue is that only the currently accessed cell is shown as JadeRichText control, the rest of the cells are just shown as standard table cells.
What I'd like to achieve is to get all cells to be shown as JadeRichText control at all time, so the text always shown in richtext format. (bold, colour.. etc).
Is there anyway to turn off this behaviour of hiding controls that are not on focus on a table?
Many thanks,
Peta
I am trying to make a special table that uses JadeRichText control in each cell.
I have tried the following code, but the issue is that only the currently accessed cell is shown as JadeRichText control, the rest of the cells are just shown as standard table cells.
Code: Select all
vars
rt : JadeRichText;
begin
foreach r in 2 to rows do
foreach c in 2 to columns do
create rt transient;
form.addControl(rt);
accessCell(r, c).cellControl := rt;
endforeach;
endforeach;
end;
Is there anyway to turn off this behaviour of hiding controls that are not on focus on a table?
Many thanks,
Peta