Dim x, y As Int
For y = 0 To ROWs-1
For x = 0 To columns - 1
Dim bt As Button
bt.Initialize("Button",bt.STYLE_SYSTEM)
strLines =list1.get(y)
bt.Text = strLines
bt.Tag = y*columns
bt.CustomLabel.Font = Font.CreateNewBold(20)
bt.CustomLabel.Font = Font.CreateNew(20)
bt.CustomLabel.Multiline=False
bt.CustomLabel.TextColor= Colors.RGB(0,0,128)
bt.CustomLabel.TextAlignment = bt.CustomLabel.ALIGNMENT_LEFT
ScreenScrollView.Panel.AddView(bt, x*BWidth,y*BHeight+2dip,BWidth,BHeight-4dip) 'Add Button
Next
Next