Home » Developer & Programmer » Forms » get the window current
get the window current [message #635656] Sun, 05 April 2015 05:40 Go to next message
Messages: 1
Registered: April 2015
Junior Member
i want name of window current.
There is a way for it?
Re: get the window current [message #635659 is a reply to message #635656] Sun, 05 April 2015 10:45 Go to previous messageGo to next message
Messages: 21580
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
See what properties GET_WINDOW_PROPERTY offers; as it accepts window ID or name, the closest information you can get is a window title (and you want a window name, right)?

Therefore, use GET_ITEM_PROPERTY (and its ITEM_CANVAS property) to find name of a canvas on which that item is displayed; then pass canvas' name to GET_VIEW_PROPERTY (and its WINDOW_NAME property) in order to get name of a window which contains the named canvas.
Re: get the window current [message #635660 is a reply to message #635659] Sun, 05 April 2015 12:49 Go to previous message
Michel Cadot
Messages: 67290
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

alphabeta, alias hahaie, is from Iran and does not care if you will be prosecuted if you answer him.

[Updated on: Sun, 05 April 2015 12:50]

Report message to a moderator

Previous Topic: disable menu items
Next Topic: Start auto numbering with 01
Goto Forum:

Current Time: Sun Aug 09 04:10:37 CDT 2020