When showing a BBCodeView with a large amount of text (it shows an error log) I want it to scroll to a certain position.
For some reason it doesn't scroll and can't figure out why this is:
iScrollPositionY has the right value, but bbcvPrompt.sv.ScrollViewOffsetY remains at zero.
Any idea what the problem could be here?
RBS
For some reason it doesn't scroll and can't figure out why this is:
B4X:
If iScrollPositionY > 0 Then
Log("iScrollPositionY: " & iScrollPositionY)
bbcvPrompt.sv.ScrollViewOffsetY = iScrollPositionY
Log("bbcvPrompt.sv.ScrollViewOffsetY: " & bbcvPrompt.sv.ScrollViewOffsetY)
End If
iScrollPositionY has the right value, but bbcvPrompt.sv.ScrollViewOffsetY remains at zero.
Any idea what the problem could be here?
RBS