Page 1 of 1

BackgroundImageFileName

Posted: Thu Dec 15, 2005 10:09 am
by miro
hi

BackgroundImageFileName property is lost for when SplitSelectedCellsHorizontally or SplitSelectedCellsVertically functions are used.

adding PropList.AddObject('BackgroundImageFileName', TObject(SourceCell.BackgroundImageFileName));

in TRVTableItemInfo.AssignCellAttributes fixed the problem for me

miro

Posted: Sun Dec 18, 2005 8:40 pm
by Sergey Tkachenko
It's not as simple as that.
It's assumed that PropList contains information about integer properties. Undoing such operation may crash the problem.

A proper fix for this problem includes adding several new methods of RVData and table, and a couple of new undo item classes.
I have these changes in my copy of TRichView.