When it says "outside the window", it's referring to the pop-up window itself, 
so you are seeing the correct behavior.

        • The window cannot have a close box but is automatically closed and 
the "cancel" event is passed to the window when:
                • a click occurs outside the window;
                • the background window or the MDI (Multiple Document 
Interface) window is moved;
                • the user clicks the Esc key.

https://doc.4d.com/4Dv17/4D/17.3/Window-Types.300-4621132.en.html

Keith - CDI

> On Nov 4, 2019, at 5:13 PM, Chris Belanger via 4D_Tech <[email protected]> 
> wrote:
> 
> I am trying to find out about the WINDOW TYPE:   ‘pop up form window’.
> I am sure I read something about this new window type — that it is supposed 
> to be modal relative to the frontMost window that was open when it was called.
> If the user clicks outside that window, then it is basically ‘cancelled’ and 
> vaporizes.
> But I think it is supposed to be useful to query the user for something that 
> it can then pass on to the frontMost window it represents.
> 
> When what I call the “OWNER WINDOW” is showing, I pop up the POP UP FORM 
> window using:
> 
> --------
> 
> $obj:=OBJ_GetWindowInfo // custom method that returns an object with 
> characteristics about the window (frontmost in this case)
> $testForm:=Open form window("pwChooseFieldToInsert";Pop up form 
> window;$obj.left;$obj.bottom-300) // open the window as pop up Form...
> DIALOG("pwChooseFieldToInsert”) // show the form.
> 
> --------
> 
> This pops up this form window in the bottom-left of the current window, 
> displaying the correct form.
> If I click outside of it (when it is active) then it disappears as I remember 
> it was supposed to. (Like iOS, where touching outside a modal window just 
> dismisses it)
> However, if the 
> 
> However, how do I use information retrieved from it in my ‘OWNER WINDOW’ 
> after it is correctly entered and ‘approved’ [i.e. OKed] ?
> 
> Do you recall reading about this new window type? If so, can you give me a 
> link to the documentation? I cannot find it anywhere…
> 
> Thanks,
> Chris
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to