Is 4D’s response to option-click in a window’s close box documented? All
windows close, which is as I’d expect, but they don’t seem to get sent an On
close box event. Also, the default splash screen window closes and I drop out
of application mode.
v17R5, Mac, running interpreted.
Jeremy
*
Nobody?
> On 5 Oct 2019, at 12:56, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Is 4D’s response to option-click in a window’s close box documented? All
> windows close, which is as I’d expect, but they don’t seem to get sent an On
> close box event. Also, the default splash
Jeremy:
I have not looked in the last few versions of of the manual. It was documented
when the feature came out many years ago. I typically do not read all the
manuals over, just read the update notes. Sometimes I do have to go back and
read the documentation over again, but not that often.
I
Jodie,
I did look at the documentation for v17R5 but I found nothing describing events
which would be sent on option-click close button. Do you recall where it was
previously documented?
Jeremy
> On 8 Oct 2019, at 23:19, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> wrote:
>
> Jeremy:
>
> I
not the close box, but "Option-Command-W" is standard Apple shortcut.
https://support.apple.com/en-us/HT201236
no mention of option+close here:
https://support.apple.com/guide/mac-help/work-with-app-windows-mchlp2469/mac
I can not comment if the form event not firing or the splash window closin
Miyako,
In pretty much every Mac application which can have multiple windows open,
option-click on the close box of a window closes all the app’s windows, and as
far as I can recall always has. It’s essentially synonymous with cmd-opt-W. Try
Preview, for example.
In an app whose windows can be
Hello,
I am out of my depth on this subject,
but would system preferences / general / ask whether to save changes before
closing document (unchecked by default)
make any difference?
for what it's worth, you can control the dirty bit and disable the close box
with this:
https://miyako.github.
Miyako,
I am using your plugin, which is jolly useful! It provides handy visual
feedback but other than that makes no difference.
I do have the “ask” checkbox in System Preferences checked (I confess I was
completely unaware of it until now, so thanks for that).
In the 4D developer environment
All true what you said, with some observations (17.3):
If On Close Box is checked, an input window gets the event, but does not close.
An output window did close.
If not checked an input window will close, revealing the output window it was
opened from (when DIALOG was called without OPEN WINDO
thank you for sharing,
so if that is the case, I suppose we can say that...
the splash screen is not a dialog; On Close Box is not applicable by default.
to prevent it from closing, you could use DIALOG in the application process.
that said, starting a DIALOG (event loop) in On Startup is a very
Miyako,
In all honesty, I don’t really care about the splash screen; it belongs to 4D
and 4D can make it behave as it wishes; if I don’t like it, I needn’t use the
splash screen mechanism at all and, as Keith observes, it’s not a tragedy if it
closes. I mentioned it only for completeness.
What
Jeremy,
does 4D post an option close to each window?
you could place an inis button on the form to catch it -
you should not have to, but... it might stop the problem.
Are all the windows in the same process? or different processes?
Chip
On Thu, 10 Oct 2019 22:51:45 +0100, Jeremy Roussak via 4D
I am a bit confused; so what Keith posted was just about regular (non-option)
clicks..?
as I posted earlier, I can not say if this is a bug or not.
we can not find a 4D documentation that says explicitly that option-click shall
not invoke the event,
your argument makes sense; maybe time to open
Chip,
I don’t know what an “option close” would look like: there’s no such event, and
anyway it doesn’t matter to a particular window if it’s being told to close
because every window is closing or because it alone is closing.
They’re all in different processes; I’m still in “one process, one wi
14 matches
Mail list logo