I am creating my own custom view. Since my logic is based on Tags, I need to check for the uniqueness of the tag value.
View has a function AddLabel (pTag as String, ....).
I need to prevent using the same Tag when calling:
xxxxx.AddLabel("tag1",...) repeatedly.
I can detect the duplicate in the GetAllViewsRecursive loop, but how do I pass it to the compiler? Passing it via message seems unsystematic to me. Or another solution?
View has a function AddLabel (pTag as String, ....).
I need to prevent using the same Tag when calling:
xxxxx.AddLabel("tag1",...) repeatedly.
I can detect the duplicate in the GetAllViewsRecursive loop, but how do I pass it to the compiler? Passing it via message seems unsystematic to me. Or another solution?