Long strings displayed in a grid column problem
Posted: Wed 23 Apr 2008 10:13
Hi,
I use Delphi 7 with ODAC 5.80.0.41 Net and Oracle 10.2.0.3.
I encountered a problem of very slow repainting of CR grid columns containing long strings (specific long strings, not any ones).
I believe, though not sure, that some combination of chr(10) characters inside the text causes the problem.
Another condition that might affect this slow repainting is physical adding columns into the Columns property of the CR grid and then reducing the width of the column containing this long varchar text, but sometimes I receive this bug when there are no columns at all, in other words, when the grid creates columns according to dataset fields.
In addition there is another small display problem in the CR grid:
"enter" characters (chr(10) and chr(13)) are displayed as some garbage inside a grid column. In my case I see some Hebrew letters – I think this is because my "Language for non-Unicode programs" in the Regional Settings is Hebrew. When I set it to Russian, I see '::' in place of 2 Hebrew letters.
Please tell me when you are going to fix these problems.
Thanks,
Yevgeny
P.S. I sent a test project where this problem can be reproduced along with the script for creating the table with problematic long texts to support()crlab.com.
I use Delphi 7 with ODAC 5.80.0.41 Net and Oracle 10.2.0.3.
I encountered a problem of very slow repainting of CR grid columns containing long strings (specific long strings, not any ones).
I believe, though not sure, that some combination of chr(10) characters inside the text causes the problem.
Another condition that might affect this slow repainting is physical adding columns into the Columns property of the CR grid and then reducing the width of the column containing this long varchar text, but sometimes I receive this bug when there are no columns at all, in other words, when the grid creates columns according to dataset fields.
In addition there is another small display problem in the CR grid:
"enter" characters (chr(10) and chr(13)) are displayed as some garbage inside a grid column. In my case I see some Hebrew letters – I think this is because my "Language for non-Unicode programs" in the Regional Settings is Hebrew. When I set it to Russian, I see '::' in place of 2 Hebrew letters.
Please tell me when you are going to fix these problems.
Thanks,
Yevgeny
P.S. I sent a test project where this problem can be reproduced along with the script for creating the table with problematic long texts to support()crlab.com.