<?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: How to push a text string in a StackView in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772602#M499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giatri:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you want to do is assign a text string property on one view with a text string property from another view. You pass parameters in the push method after the id of the view being pushed onto the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;stackView.push (page2, { "propertyNameSetOnPage2": "the string you want to pass to page 2"});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;In that example on Page 2 you would have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;property string&amp;nbsp;&lt;SPAN&gt;propertyNameSetOnPage2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;and when&amp;nbsp;the view is pushed onto the stack, that property will get set to&amp;nbsp;"the string you want to pass to page 2"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;See:&amp;nbsp;&lt;A class="link-titled" href="https://doc.qt.io/qt-5.11/qml-qtquick-controls2-stackview.html#push-method" title="https://doc.qt.io/qt-5.11/qml-qtquick-controls2-stackview.html#push-method"&gt;StackView QML Type | Qt Quick Controls 2 5.11&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2018 06:04:59 GMT</pubDate>
    <dc:creator>JaysonWard</dc:creator>
    <dc:date>2018-11-23T06:04:59Z</dc:date>
    <item>
      <title>How to push a text string in a StackView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772600#M497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that a page in stackview can be pushed by the code below for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StackView {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;id: stackView&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;anchors.fill: parent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;initialItem: startPage&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Component {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;id: startPage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;StartPage {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;onNext: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stackView.push (page2);&lt;/P&gt;&lt;P&gt;} etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can a text string be pushed in stackview from one page to another? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 18:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772600#M497</guid>
      <dc:creator>GiatriLalla</dc:creator>
      <dc:date>2018-11-22T18:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to push a text string in a StackView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772601#M498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not entirely sure I understand your question. Can you provide more information? What is this string? A stackview can only have pages pushed to it. Is this text string a parameter on the page? If you give an explanation to the problem you're trying to solve we can better help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2018 20:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772601#M498</guid>
      <dc:creator>StephenQuan1</dc:creator>
      <dc:date>2018-11-22T20:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to push a text string in a StackView</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772602#M499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giatri:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you want to do is assign a text string property on one view with a text string property from another view. You pass parameters in the push method after the id of the view being pushed onto the stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;stackView.push (page2, { "propertyNameSetOnPage2": "the string you want to pass to page 2"});&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;In that example on Page 2 you would have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;property string&amp;nbsp;&lt;SPAN&gt;propertyNameSetOnPage2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;and when&amp;nbsp;the view is pushed onto the stack, that property will get set to&amp;nbsp;"the string you want to pass to page 2"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;See:&amp;nbsp;&lt;A class="link-titled" href="https://doc.qt.io/qt-5.11/qml-qtquick-controls2-stackview.html#push-method" title="https://doc.qt.io/qt-5.11/qml-qtquick-controls2-stackview.html#push-method"&gt;StackView QML Type | Qt Quick Controls 2 5.11&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 06:04:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-push-a-text-string-in-a-stackview/m-p/772602#M499</guid>
      <dc:creator>JaysonWard</dc:creator>
      <dc:date>2018-11-23T06:04:59Z</dc:date>
    </item>
  </channel>
</rss>

