Tech Tip: How to bring particular window to front in same process
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: November 1, 2021
When trying to bring a window to the foreground, usually the command BRING TO FRONT would suffice. However, when there are multiple windows opened in the same process, BRING TO FRONT cannot target a certain window. To bring a particular window to the foreground, when there are multiple windows opened in the same process, use the command SET WINDOW RECT. Note that when using SET WINDOW RECT, the window reference number of the desired window must be passed as a parameter, and the asterisk parameter must be omitted.