How could I retrieve name of the window while knowing its ID
Could anyone tell me how could we retrieve the name of the window while knowing its ID?
My problem is specified as followed : I have the window name which is dynamically generated based on the system date, the ID of the feature in question, the version and some others elements, and between each term, there are a lot of blank space. If I tried to copy all the name of the window in question and pasted it as parameter in function OraFormsCloseWindow, it will reject a error message with typee RT: 9 - The measure point is too long.
To resolve this, according to this post : http://community.microfocus.com/borland/test/silk_performer_-_application_performance_testing/w/knowledge_base/8593.how-can-i-handle-dynamic-window-names-for-example-containing-a-timestamp-in-my-oracle-forms-script.aspx , I have:
nWindow := OraFormsFindAndSetWindow("nom de la fenetre");
It works very well. But the problem is, now I have a function called OraFormsMenuItem which take only the name of the window as input.
What I had is only the ID of this window. How could I get the window name from this information?