Sub InitButtons
Dim Row, Col, i As Int
pnlAlpha.Top = 36%y
pnlAlpha.Height = 64%y
For Row = 0 To RowNb - 1
For Col = 0 To ColNb - 1
i = Row * ColNb + Col
Buttons(i).Initialize("btnAlpha")
pnlAlpha.AddView(Buttons(i), Col * btnWidth, Row * btnHeight, btnWidth, btnHeight)
Buttons(i).Text = btnText(i)
Buttons(i).Tag = i + 1
Buttons(i).TextSize = 28
Buttons(i).Typeface = Typeface.DEFAULT_BOLD
Next
Next
End Sub