window.bringToFront
| Syntax |
window.bringToFront (title)
|
| Params |
title is the name of a window that is open.
|
| Action |
Brings the window to the front of the display. If no window with the title is open, this verb does nothing.
|
| Returns |
True if the window was open and brought to the front, otherwise false.
|
| Examples |
Open the examples table and the sub-table funStuff. Place the funStuff window atop the examples window and then type and execute: window.bringToFront (@examples) // address is coerced to full Object Database path
In the following example, we use a string for the title. Type and execute:
Close the funStuff window. Type and execute:
The window is not open, so this verb cannot bring it to the front. window.open (@examples); window.bringToFront (@examples.funStuff)
|
| Errors |
Attempting to bring to the front a window that is not open returns false but does not produce an error message.
|
| Notes |
The full path name of the object in the database is also the title of the window in which it is displayed.
|
| See Also |
window.open
|