L leitor79 Active Member Licensed User Longtime User Sep 10, 2017 #1 Hi, I'm using this table, and I need to save all the content (including the one is offscreen) to a bitmap file. I've tried several things, last one this one, but the best I cant get is to save the "inscreen" part. I think that's because the table is not all loaded in memory but the items loads dinamically... is that right? Thank you very much!
Hi, I'm using this table, and I need to save all the content (including the one is offscreen) to a bitmap file. I've tried several things, last one this one, but the best I cant get is to save the "inscreen" part. I think that's because the table is not all loaded in memory but the items loads dinamically... is that right? Thank you very much!
klaus Expert Licensed User Longtime User Sep 10, 2017 #2 I think that's because the table is not all loaded in memory but the items loads dinamically... is that right? Click to expand... Yes. The content is loaded dynamically. Upvote 0
I think that's because the table is not all loaded in memory but the items loads dinamically... is that right? Click to expand... Yes. The content is loaded dynamically.
L leitor79 Active Member Licensed User Longtime User Sep 11, 2017 #3 Hi Klaus, thank you for your answer! Is there an easy way to change that behavior? I'm loading a table with 60 rows max. I've tried to set... Code: Copy minVisibleRow = 0 maxVisibleRow = Data.Size ...in the ScrollChanged event, but it only loads 14 rows and that shows all blanks at first.... Regards! Upvote 0
Hi Klaus, thank you for your answer! Is there an easy way to change that behavior? I'm loading a table with 60 rows max. I've tried to set... Code: Copy minVisibleRow = 0 maxVisibleRow = Data.Size ...in the ScrollChanged event, but it only loads 14 rows and that shows all blanks at first.... Regards!
klaus Expert Licensed User Longtime User Sep 11, 2017 #4 In the SV_ScrollChanged routine try to change these two lines Code: Copy currentMin = Max(0, PosY / cRowHeight - 30) currentMax = Min(Data.Size - 1, (PosY + SV.Height) / cRowHeight + 30) to Code: Copy currentMin = 0 currentMax = Data.Size - 1 Don't change these two lines in innerClearAll ! Code: Copy minVisibleRow = 0 maxVisibleRow = Data.Size Leave them as they are: Code: Copy minVisibleRow = -1 maxVisibleRow = 0 Upvote 0
In the SV_ScrollChanged routine try to change these two lines Code: Copy currentMin = Max(0, PosY / cRowHeight - 30) currentMax = Min(Data.Size - 1, (PosY + SV.Height) / cRowHeight + 30) to Code: Copy currentMin = 0 currentMax = Data.Size - 1 Don't change these two lines in innerClearAll ! Code: Copy minVisibleRow = 0 maxVisibleRow = Data.Size Leave them as they are: Code: Copy minVisibleRow = -1 maxVisibleRow = 0
L leitor79 Active Member Licensed User Longtime User Sep 25, 2017 #5 Thank you very much, Klaus! Upvote 0