<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: override close event? in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778013#M701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sean,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general QML, you can use the onClosing signal for Qt Window,&amp;nbsp;&lt;A class="link-titled" href="https://doc.qt.io/qt-5/qml-qtquick-window-window.html#closing-signal" title="https://doc.qt.io/qt-5/qml-qtquick-window-window.html#closing-signal"&gt;Window QML Type | Qt Quick 5.13.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this is not supported within the "App" of the AppStudio AppFramework. This is a good enhancement, we are looking into a way to add this into AppStudio AppFramework that would support all platforms. If this is a requirement for your app, I would recommend submitting a formal Enhancement request through &lt;A href="https://community.esri.com/group/1759"&gt;Esri Technical Support&lt;/A&gt;‌, so that we can track it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Dec 2019 22:48:36 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2019-12-02T22:48:36Z</dc:date>
    <item>
      <title>override close event?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778012#M700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any method that can override the application's close event? For instance, when a user tried to close the application on Windows, will trigger that can add some logic. After some googling, I found that there's a way to implement in Qt (&lt;A class="link-titled" href="https://stackoverflow.com/a/33210490" title="https://stackoverflow.com/a/33210490"&gt;qt - QtQuick: how to override window close event? - Stack Overflow&lt;/A&gt;&amp;nbsp;) But, can't find any similar method in App / AppLayout QML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Sean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 20:31:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778012#M700</guid>
      <dc:creator>SeanKim</dc:creator>
      <dc:date>2019-12-02T20:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: override close event?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778013#M701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sean,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general QML, you can use the onClosing signal for Qt Window,&amp;nbsp;&lt;A class="link-titled" href="https://doc.qt.io/qt-5/qml-qtquick-window-window.html#closing-signal" title="https://doc.qt.io/qt-5/qml-qtquick-window-window.html#closing-signal"&gt;Window QML Type | Qt Quick 5.13.2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, this is not supported within the "App" of the AppStudio AppFramework. This is a good enhancement, we are looking into a way to add this into AppStudio AppFramework that would support all platforms. If this is a requirement for your app, I would recommend submitting a formal Enhancement request through &lt;A href="https://community.esri.com/group/1759"&gt;Esri Technical Support&lt;/A&gt;‌, so that we can track it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 22:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778013#M701</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-12-02T22:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: override close event?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778014#M702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sean,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found something, but I think this might not be what you are looking for. This will not override the close event, but this is an event listener when the app is closed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="486" src="https://community.esri.com/legacyfs/online/475159_pastedImage_1.png" width="423" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Erwin.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 18:12:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778014#M702</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-12-03T18:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: override close event?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778015#M703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer, Erwin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will submit this through support&amp;nbsp;as you guided due to it is one of our app's requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 22:56:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/override-close-event/m-p/778015#M703</guid>
      <dc:creator>SeanKim</dc:creator>
      <dc:date>2019-12-11T22:56:39Z</dc:date>
    </item>
  </channel>
</rss>

