I'm sorry my English.
If I have many button in the panel,and I set Tag property is price|RoomNo.
I have the problem as line is >> if mimelist=RentedRoom Then
How do I do?
I have used : if mimelist.get(1)=RentedRoom Then >> Error
If I have many button in the panel,and I set Tag property is price|RoomNo.
I have the problem as line is >> if mimelist=RentedRoom Then
How do I do?
I have used : if mimelist.get(1)=RentedRoom Then >> Error
B4X:
For i = 0 To Starter.RentedRooms.Size - 1
Dim RentedRoom As String
RentedRoom = Starter.RentedRooms.Get(i)
Log(RentedRoom)
For Each v As View In Panel1.GetAllViewsRecursive
If v Is Button Then
Dim mimeList As List = Regex.Split("\|",v.Tag)
If mimeList=RentedRoom Then
v.Enabled=False
End If
End If
Next
Next