Sub Activity_Create(FirstTime As Boolean)
Label1.Initialize("")
Label1.Top=0dip
Label1.Left=0dip
EditText1.Initialize("")
EditText1.Top=10dip
EditText1.Left=Label1.Width
EditText1.Height=30dip
IME.Initialize("ime")
IME.AddHeightChangedEvent
Activity.LoadLayout("Tabla")
Activity.Title=Main.ProgName & " " & Main.ProgVersion
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Pulgadas", B4XTable1.COLUMN_TYPE_TEXT)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Milimetros", B4XTable1.COLUMN_TYPE_TEXT)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("DENOMINACION", B4XTable1.COLUMN_TYPE_TEXT)
StateColumn.Width = 380dip
StateColumn.Sortable = True
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Grains", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Gramos", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("CB", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V0", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V50", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V100", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V150", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V200", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V250", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("V300", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Visor", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Alt50", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Alt100", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Alt150", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Alt200", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Alt250", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Alt300", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ0", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ50", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ100", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ150", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ200", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ250", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Energ300", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("DS", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
Dim StateColumn As B4XTableColumn = B4XTable1.AddColumn("Id", B4XTable1.COLUMN_TYPE_NUMBERS)
StateColumn.Width = 60dip
NumberColumn = B4XTable1.AddColumn("Interesting Number", B4XTable1.COLUMN_TYPE_NUMBERS)
NumberColumn.Width=1dip
B4XTable1.RowHeight=50dip
B4XTable1.lblFromTo.TextColor= Colors.Cyan 'exple: 1 to 18
B4XTable1.lblNumber.TextColor=Colors.Red '1 the page numbers in red. you can also use XUI colors
B4XTable1.ArrowsEnabledColor=Colors.blue 'enable arrow color
B4XTable1.ArrowsDisabledColor=Colors.Gray 'disabled arrow color
'