I am trying to store the position of a label within a row/column
I have the following in principle...
Tag works if I use a simple array instead of type.
All items used appear in the dropdown lists i.e. when typing Dim brk.Tag As Harry, Tag and Harry were offered.
What is wrong please?
I have the following in principle...
B4X:
Type Harry(col As Byte, row As Byte)
Dim pos as Harry
Dim Tom as Label
...
pos.col=x : pos.row=y
...
Tom(pos, "abc")
...
Sub Tom(loc as Harry, sEvent as String)
Dim Dick As Label
Dim Dick.Tag As Harry ''Error unknown type Tag. Missing library?
Dick.Initialize(sEvent)
brk.Tag=loc
All items used appear in the dropdown lists i.e. when typing Dim brk.Tag As Harry, Tag and Harry were offered.
What is wrong please?
Last edited: