﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » WaitWindow Format</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 08 Apr 2026 01:25:20 GMT</lastBuildDate><ttl>20</ttl><item><title>WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27501.aspx</link><description>I have a formatting issue.  If I use the following in my code:&lt;br&gt;
&lt;br&gt;
waitWindow1.Message = String.Format("Please stand by while the calculations and the data are generated{0}for the date range {1:d} through {2:d}.{3}{4}This may take several minutes depending on the date range entered.",&lt;br&gt;
                                              Environment.NewLine,&lt;br&gt;
                                              deBegDate.DateTime,&lt;br&gt;
                                              deEndDate.DateTime,&lt;br&gt;
                                              Environment.NewLine,&lt;br&gt;
                                              Environment.NewLine);&lt;br&gt;
&lt;br&gt;
...I get the attached Wait&amp;#119;indow.  I was not expecting the line segment in the middle.  Any thought?&lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
Bill&lt;br&gt;</description><pubDate>Fri, 25 Jun 2010 09:00:48 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27526.aspx</link><description>Hi Bill.&lt;/P&gt;&lt;P&gt;We were able to reproduce it, but no solution yet. Will let you know as soon as we got something. ;)</description><pubDate>Fri, 25 Jun 2010 09:00:48 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27524.aspx</link><description>Good morning,&lt;br&gt;
&lt;br&gt;
Any progress on the code tests?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Bill</description><pubDate>Fri, 25 Jun 2010 08:47:36 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27514.aspx</link><description>Thanks Bill. We're taking a look at it and we'll let you know what we discover. Thanks for taking the time to build the sample.</description><pubDate>Tue, 22 Jun 2010 12:32:42 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27512.aspx</link><description>Here is a small application (zip file) that does the same thing...I've included a screen shot of what the wait window looks like on my W7/64 workstation.</description><pubDate>Tue, 22 Jun 2010 08:18:03 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27507.aspx</link><description>Could you provide a sample that demonstrates the issue? We'll take a look and see what we can figure out.</description><pubDate>Mon, 21 Jun 2010 16:15:57 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27506.aspx</link><description>I tried changing the WaitWindowLocation, AutoSizeForm, DisplayTitle properties and they all have the same result, if there is a AppendLine or VBCRLF or Environment.NewLine, a line will be draw as shown in Bill's image.&lt;br&gt;
&lt;br&gt;</description><pubDate>Mon, 21 Jun 2010 15:27:44 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27505.aspx</link><description>I am also on Windows 7 64-bits.</description><pubDate>Mon, 21 Jun 2010 15:19:22 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27504.aspx</link><description>What is your OS Edhy?&lt;br&gt;
&lt;br&gt;
This works well on Windows XP SP3, so we need to isolate the issue.</description><pubDate>Mon, 21 Jun 2010 15:12:44 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27503.aspx</link><description>Hi Bil,&lt;br&gt;
&lt;br&gt;
I got the same results as you even when using a StringBuilder, so I guess this may be a bug in the WaitWindow code.</description><pubDate>Mon, 21 Jun 2010 14:49:40 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: WaitWindow Format</title><link>http://forum.strataframe.net/FindPost27502.aspx</link><description>After cleaning up the code a bit...&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
waitWindow1.Message = String.Format("Please stand by while the calculations and the data are generated{2}for the date range {0:d} through {1:d}.{2}{2}This may take several minutes depending on the date range entered.",&lt;br&gt;
deBegDate.DateTime,&lt;br&gt;
deEndDate.DateTime,&lt;br&gt;
Environment.NewLine);&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
(thanks, Greg)&lt;br&gt;
&lt;br&gt;
I am still getting the same behavior.  I am on a W7/64 workstation.&lt;br&gt;</description><pubDate>Mon, 21 Jun 2010 14:34:18 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>