Unfortunately, I can't test your program.
I get following error!
Parsing code. 0.34
Compiling code. 0.59
Compiling layouts code. 0.05
Generating R file. 0.36
Compiling generated Java code. Error
B4A line: 2399
End Sub
javac 1.7.0_17
src\B4A\Oscilloscope\main.java:8505: error: code too large for try statement
catch (Exception e) {
^
1 error
I don't know why this happens.
But, I don't think that this
copyrect.Initialize(ii-invalidate_on_every_5,0,ii,GridH)
PanelMain.Invalidate2(copyrect)
invalidates the whole Panel.
Best regards.