mob/verb/Close()
winset(usr,"Window[i]","is-visible="false"")
//and does some more stuff but are not relevant
Problem description:
I have multiple same windows created with winclone, and I've created a Close() verb that is triggered when a the Close button is pressed on these windows. The problem is how does Close() know which window to close?
How can Close() verb be supplied with a number that will state which window to close??
Can I at runtime do that??
winset(usr,"window[i].Close","command=Close(i)")
and pass argument i when button is pressed??
I believe this is what you want?