I have a lot of Pane: Pane1, Pane2, Pane3, Pane4, etc. And there is a sub-program where I have to change the height of each panel. Can I do this with the help of a subroutine?
B4X:
HeightPane(1,20%y)
HeightPane(2,10%y)
'etc
Sub HeightPane (a As Int,b As Int)
Pane&"a".Height=b
End Sub