A lot of my procedures vary their behavior based on what form called them, so I use info(“windowname”) in almost every procedure. But the window name that is displayed in the drag bar, which is also the result from info(“windowname”) is not ALWAYS the actual name of the form as displayed in the sidebar.
I don’t know of any way the window name could be different unless you’ve explicitly used the
windowname statement to change the name of the window.
But in any case, I wouldn’t use the
info("windowname") for that purpose – why not go right to the source and use
Good idea! (of course)