Cannon If you're on the Mac, you might be able to get that info using Applescript.
This is from the payback machine so I don't remember the details. Check the NUG archives for this "applescript". I needed to bring 4D to the front when I was working in an all Mac shop and I ended up doing it with an Applescript. I realize that's bassackwards for what you're trying to do but it might get you headed in the right direction. -- Douglas von Roeder 949-336-2902 On Fri, Feb 17, 2017 at 1:20 PM, Cannon Smith via 4D_Tech < [email protected]> wrote: > Is there a way to detect whether 4D is the frontmost application? I have a > small status window that I show/hide from time to time and am finding that > if 4D is hidden, when I call SHOW WINDOW, 4D comes becomes the frontmost > application which is really annoying. I’m thinking that if I can detect > whether 4D is frontmost, I can choose whether or not to show the window at > all. If anyone has other ideas, I’m open to them. > > Thanks. > > -- > Cannon.Smith > Synergy Farm Solutions Inc. > Hill Spring, AB Canada > 403-626-3236 > <[email protected]> > <www.synergyfarmsolutions.com> > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

