WaitWindow Format


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
I have a formatting issue. If I use the following in my code:



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.",

Environment.NewLine,

deBegDate.DateTime,

deEndDate.DateTime,

Environment.NewLine,

Environment.NewLine);



...I get the attached Waitwindow. I was not expecting the line segment in the middle. Any thought?



Thanks!

Bill

Attachments
waitwindow.jpg (185 views, 25.00 KB)
Replies
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Bil,



I got the same results as you even when using a StringBuilder, so I guess this may be a bug in the WaitWindow code.

Edhy Rijo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
What is your OS Edhy?



This works well on Windows XP SP3, so we need to isolate the issue.
Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
I am also on Windows 7 64-bits.

Edhy Rijo

Edhy Rijo
E
StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)StrataFrame VIP (6.4K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
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.




Edhy Rijo

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Could you provide a sample that demonstrates the issue? We'll take a look and see what we can figure out.
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
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.
Attachments
WaitWindowTest.zip (151 views, 47.00 KB)
WaitWindowTest.jpg (179 views, 15.00 KB)
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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.
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
Good morning,



Any progress on the code tests?



Thanks,

Bill
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)Strategic Support Team Member (4.9K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Bill.

We were able to reproduce it, but no solution yet. Will let you know as soon as we got something. Wink

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Bill Cunnien - 15 Years Ago
Bill Cunnien - 15 Years Ago
Edhy Rijo - 15 Years Ago
Greg McGuffey - 15 Years Ago
                     I am also on Windows 7 64-bits.
Edhy Rijo - 15 Years Ago
                         I tried changing the WaitWindowLocation, AutoSizeForm, DisplayTitle...
Edhy Rijo - 15 Years Ago
                             Could you provide a sample that demonstrates the issue? We'll take a...
Greg McGuffey - 15 Years Ago
                                 Here is a small application (zip file) that does the same thing...I've...
Bill Cunnien - 15 Years Ago
                                     Thanks Bill. We're taking a look at it and we'll let you know what we...
Greg McGuffey - 15 Years Ago
                                         Good morning,

Any progress on the code tests?
...
Bill Cunnien - 15 Years Ago
                                             Hi Bill. We were able to reproduce it, but no solution yet. Will let...
Ivan George Borges - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search