Public Sub ViewEnable(enable As Boolean)
For i = 0 To xpnl_tabbase.NumberOfViews -1
#If B4I
Dim tmp_pnl As Panel = xpnl_tabbase.GetView(i)
'tmp_pnl.UserInteractionEnabled = False <-- this line
tmp_pnl.UserInteractionEnabled = enable
#Else
xpnl_tabbase.GetView(i).Enabled = enable
#End If
Next
End Sub