<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Apr 2015 21:02:00 Z</lastBuildDate><pubDate>13 Apr 2015 18:59:00 Z</pubDate><description>I have a procedure that handles an error when necessary. It runs the trtEnter process of a comboBox. The code runs and I attempt to select all using this code:&#13;
&#13;
SetFocus(MySelf) LOOP_TransportationParameters.EDT_DestinationAddress..Cursor = 1 LOOP_TransportationParameters.EDT_DestinationAddress..CursorEnd = Length(EDT_DestinationAddress) + 1 RETURN&#13;
However it doesn't work although it works fine on other forms. I can even add the above code to a test button, and it will work to select all. Is this a bug? Does it have something to do with being inside a looper? SetFocus works regardless, but ..Cursor and ..CursorEnd only work on the test button.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend/read.awp</link><title>[WD19] Selecting all text with ..Cursor and ..CursorEnd.</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/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51508/read.awp</comments><pubDate>13 Apr 2015 21:02:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
What is your error message? Also I'm not sure SetFocus would work in that case. Also, you for Length() you must us…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51508/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51508/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend/read.awp">[WD19] Selecting all text with ..Cursor and ..CursorEnd.</source><title>Re: [WD19] Selecting all text with ..Cursor and ..CursorEnd.</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51503/read.awp</comments><pubDate>13 Apr 2015 20:22:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
the principle of loopers is to ALWAYS use attributes and NEVER address directly the controls.&#13;
&#13;
So your code&#13;
LOO…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51503/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51503/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend/read.awp">[WD19] Selecting all text with ..Cursor and ..CursorEnd.</source><title>Re: [WD19] Selecting all text with ..Cursor and ..CursorEnd.</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51506/read.awp</comments><pubDate>13 Apr 2015 19:50:00 Z</pubDate><description>Unfortunately that causes an error. And that code works if I just place it on a text button.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51506/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51506/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend/read.awp">[WD19] Selecting all text with ..Cursor and ..CursorEnd.</source><title>Re: [WD19] Selecting all text with ..Cursor and ..CursorEnd.</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51505/read.awp</comments><pubDate>13 Apr 2015 19:36:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
I think you must address the line number, like LOOP_TransportationParameters[__line_number__].EDT_DestinationAddre…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51505/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend-51505/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/51499-wd19-selecting-all-text-with-cursor-and-cursorend/read.awp">[WD19] Selecting all text with ..Cursor and ..CursorEnd.</source><title>Re: [WD19] Selecting all text with ..Cursor and ..CursorEnd.</title></item></channel></rss>
