Sub pnlLanguage_Click
Dim pnl As Panel
Dim lbl As Label
Log("Clicked")
pnl = Sender ' gets the Panel at the selected row
lbl = pnl.GetView(1) ' gets the Label of the selected row
' here you can add the code you want
' lbl.Tag = language abdreviation
Activity.Title = lbl.Tag ' gets the Tag value of the Label
PopulateDiction(lbl.Tag)
language = lbl.Tag
'Log("Dict = " & DictionList)
'ToastMessageShow(DictionList.GetValueAt(2), True)
SQL1.ExecNonQuery("UPDATE system SET value = '" & lbl.tag & "' WHERE var='language'")
PanelTimer.Enabled = True
'PanelTimer_Tick
pnl.Color = Colors.Black
'scvMain.Panel.Visible= False
End Sub
Sub PanelTimer_Tick
Dim pnl As Panel
'pnl = Sender ' gets the Panel at the selected row
'pan = pnl.GetView(1)
pnl.Color = Colors.Blue
End Sub