Re: Closing a window with another application in focus

2019-02-07 Thread Chuck Miller via 4D_Tech
You’re not kidding when running with built clients sometimes closes window 
using close box quits 4D on windows 7.

Regards

Chuck

 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Feb 7, 2019, at 8:00 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Kirk/Albert Brooks pointed me in the right direction -- if you open the 
> window with Open Form Window, then the behavior is just automatic. If you 
> open the window with Open Window, then you need to enable the On Close Box 
> event and write a handler for that event.  
> 
> 64-bit seems pickier/more consistent than 32-bit.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Closing a window with another application in focus

2019-02-07 Thread Jeffrey Kain via 4D_Tech
Kirk/Albert Brooks pointed me in the right direction -- if you open the window 
with Open Form Window, then the behavior is just automatic. If you open the 
window with Open Window, then you need to enable the On Close Box event and 
write a handler for that event.  

64-bit seems pickier/more consistent than 32-bit.

> On Feb 7, 2019, at 2:19 AM, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I read about a a "click through" property (a long time ago and not connected 
> to 4D).
> If that is not set, then the first click into a window brings it to the front 
> and the second click has the desired outcome.
> If it is set, then one click does both.
> Not sure if that was per window or per program or if 4D even supports it.
> Maybe something to do with the window type (composite vs. non composite)?
> 
> Sorry, that may be not much help, but that´s all I remember.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Closing a window with another application in focus

2019-02-06 Thread Bernd Fröhlich via 4D_Tech
Jeffrey Kain:

> On macOS - some of the windows in my application will close if I click on the 
> close box while another application has the focus, but others don't.
> 
> Does anyone know what the secret is for this? They all close fine if 4D is 
> the frontmost application - even if other 4D windows are on top I can close 
> non-focused window with a single click to the close box.


I read about a a "click through" property (a long time ago and not connected to 
4D).
If that is not set, then the first click into a window brings it to the front 
and the second click has the desired outcome.
If it is set, then one click does both.
Not sure if that was per window or per program or if 4D even supports it.
Maybe something to do with the window type (composite vs. non composite)?

Sorry, that may be not much help, but that´s all I remember.

Greetings from Germany,
Bernd Fröhlich
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Closing a window with another application in focus

2019-02-05 Thread Jeffrey Kain via 4D_Tech
On macOS - some of the windows in my application will close if I click on the 
close box while another application has the focus, but others don't.

Does anyone know what the secret is for this? They all close fine if 4D is the 
frontmost application - even if other 4D windows are on top I can close 
non-focused window with a single click to the close box.

Thanks...

Jeff
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**