For assigning tag dynamically we can use function call inside the declaration

DialogBox myOne
tag CreateTag(this)
string CreateTag(WINDOW w_Window){}

We have needs instead of 'this' or other local instance pass parameter directly from the testcase.

testcase az()
window w_az = OtherClass();
w_az.Property = false;

MyOne.SetActive(); //tag assigning based
//on evaluation w_az

Any idea how it could be done?

Thanks in advance
Alex Zadorozhny