<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>30 Jul 2015 09:49:00 Z</lastBuildDate><pubDate>29 Jul 2015 12:45:00 Z</pubDate><description>Hi guys,&#13;
&#13;
I have a question about a simple problem I'm experiencing.&#13;
&#13;
In WM20, I have a looper on a window/screen and when I tap on a row I'm passing a text field and an ID to another window. The issue is that I get different results when using the "Go" debug tool and when testing on the actual Android device. In the "Go" tool it works ok but in Android it doesn't.&#13;
&#13;
e.g. I have a Looper linked to a File and have 2 rows:&#13;
MyProject01 (ID=1) MyProject02 (ID=2)&#13;
In the "Go" tool, if I click on row 1 or 2, I see the correct info on the resulting Window2 after the OpenMobileWindow command.&#13;
&#13;
In Android (after clicking; test on mobile device), if I tap on row 1 for the first time, I always get row 2's information on the resulting window. If I then go back to the 1st window and tap on row 1 it works correctly!&#13;
&#13;
In Window1 the code is really simple; in the Row Selected event, I have OpenMobileWindow(WIN_Window2,Looper1.TextField,Looper1.IDField)&#13;
&#13;
In Window2 the code is equally simple; in the initialize event of the window I simply map the 2 fields as (gTextField is string, gIDField is Int), then set a static field based on the imported value, e.g.; STC_Field = gTextField + " project:"&#13;
&#13;
This seems so fundamental and simple, is what I'm doing wrong?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters/read.awp</link><title>[WM20] Opening a mobile window &amp;amp; passing parameters...</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-solved-53334/read.awp</comments><pubDate>30 Jul 2015 09:49:00 Z</pubDate><description>Hi all,&#13;
&#13;
As expected, the use of attributes does indeed solve my problem.&#13;
&#13;
It would be good if the Help was written in such …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-solved-53334/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-solved-53334/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters/read.awp">[WM20] Opening a mobile window &amp;amp; passing parameters...</source><title>Re: [WM20] Opening a mobile window &amp;amp; passing parameters... [solved]</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53319/read.awp</comments><pubDate>29 Jul 2015 16:27:00 Z</pubDate><description>Thanks guys; I hardly ever use Looper controls in WD but now that I'm starting to use WM they are used extensively. It jogged my…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53319/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53319/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters/read.awp">[WM20] Opening a mobile window &amp;amp; passing parameters...</source><title>Re: [WM20] Opening a mobile window &amp;amp; passing parameters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53315/read.awp</comments><pubDate>29 Jul 2015 14:28:00 Z</pubDate><description>I'm with Bart on this one.&#13;
&#13;
Any manipulation of the content of a looper should be handled using attributes.&#13;
Says as much in t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53315/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53315/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters/read.awp">[WM20] Opening a mobile window &amp;amp; passing parameters...</source><title>Re: [WM20] Opening a mobile window &amp;amp; passing parameters...</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53314/read.awp</comments><pubDate>29 Jul 2015 13:13:00 Z</pubDate><description>Hi,&#13;
&#13;
Did you try with defining attributes for your looper fields instead of using the fields directly ?&#13;
&#13;
Regards,&#13;
Bart</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53314/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters-53314/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53313-wm20-opening-mobile-window-amp-passing-parameters/read.awp">[WM20] Opening a mobile window &amp;amp; passing parameters...</source><title>Re: [WM20] Opening a mobile window &amp;amp; passing parameters...</title></item></channel></rss>
