Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/Dialog Controls    [ Add a report in this area ]  
Report #:  100024   Status: Closed
[REGRESSION] Inputbox fails to display text with several linebreaks in it
Project:  Delphi Build #:  16.0.4256.43595
Version:    16.0 Submitted By:   Frank Kneffel
Report Type:  Basic functionality failure Date Reported:  10/14/2011 12:36:55 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   288255
Resolution: Fixed (Resolution Comments) Resolved in Build: : Update 4
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
If you invoke a inputbox with some linebreaks in the text, the prompt scrolls out of the visible area of the window

I test the problem with Delphi 2010 and Delphi 2006. It was not there. Someone changed the inputbox code , in order to change the position of the label to the left hand side of the textbox.
In Delphi 2010 the Label was in top of the textbox, so the window grows to the bottom. Now it grows to the sides and produces this missbehaviour.
Steps to Reproduce:
Invoke the following inputbox
InputBox(Application.Title,'A text'+#13#10+#13#10+#13#10+#13#10+#13#10+#13#10+'with some linebreaks','');
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 10/14/2011 6:42:54 AM -
What version(and build no) of Delphi do you use, for example Delphi XE2(16.0.4276.44006)?
and, is this a regression? How about previous versions of Delphi?

Frank Kneffel at 10/18/2011 12:55:07 AM -
Im using Delphi XE2 German (16.0.4256.43595)
I test the problem with Delphi 2010 and Delphi 2006. It was not there. Someone changed the inputbox code , in order to change the position of the label to the left hand side of the textbox.
In Delphi 2010 the Label was in top of the textbox, so the window grows to the bottom. Now it grows to the sides and produces this missbehaviour.

Tomohiro Takahashi at 1/16/2012 5:21:40 PM -
We hope this issue will be fixed in upcoming next update release(e.g., Update 4).
If possible, please retest this issue with it.

Wolfgang Zehntner at 3/7/2012 12:26:23 AM -
I have installed latest Update 4.
The issue is NOT fixed yet here.
Do others have this fixed, is it just with me?
Do I need to send a new report ?

Tomohiro Takahashi at 3/7/2012 5:21:05 PM -
> Do I need to send a new report ?
yes, please put new QC report about your case.

Server Response from: ETNACODE01