Android Question save table to bitmap

leitor79

Active Member
Licensed User
Longtime User
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 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
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
Back
Top