Hello!
When using the FMX.GridExcelIO component, and when using "mergecells": for example MergeCells (0,1,4,2) - the boundary of the merged cell is not drawn.
How to fix this bug?
======
Здравствуйте!
При использовании компонента FMX.GridExcelIO, и при использовании "mergecells": для примера MergeCells(0,1,4,2) - не рисуется граница объединенной ячейки.
Как исправить этот баг?
adrian
(adrian)
July 17, 2017, 3:11pm
2
Hi,
Can you tell me a little more on how exactly you are setting the borders and/or merging the cells?
I've tried it here and it seemed to work fine in all variations I tried, but I can of course be missing some.
The test example I am using is here:
Do you thing you could modify it to show the error you are seeing?
Hi!
You use the "VCL" version for an example. And we bought "FMX". Therefore, I can not verify your example.
At first:
with tmsfmxgrid1 do
begin
BeginUpdate;
Clear;
RowCount:=10;
FixedRows:=0;
FixedColumns:=0;
//---
Cells[0,1]:='Exemple '+AnsiLowerCase(FormatDateTime( 'mmmm', Date))+' exemple';
FontStyles[0,1]:=[TFontStyle.fsBold];
MergeCells(0,1,4,2);
Colors[0,1]:=StringToAlphaColor('$88f8cbac');
FontSizes[0,1] :=12;
HorzAlignments[0,1]:=tTextAlign(0);
Later:
if SaveDialog1.Execute then
begin
TMSFMXGridExcelIO1.Grid:=tmsfmxgrid1;
TMSFMXGridExcelIO1.GridStartCol:=0;
TMSFMXGridExcelIO1.GridStartRow:=0;
TMSFMXGridExcelIO1.Options.ExportWordWrapped:=false;
TMSFMXGridExcelIO1.XLSExport(Form1.SaveDialog1.FileName);
adrian
(adrian)
July 17, 2017, 4:54pm
5
Sorry, I didn't realize it was FMX. I will recheck it and let you know.
We traced & solved this issue. The next update will address this.
When will the next update be released? If you wait a long time, send an update file or a piece of code. Thank you.
We aim to release an update next week.