Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/VCL/MDI Support    [ Add a report in this area ]  
Report #:  89043   Status: Reported
Assigning the Visible property for MDIChild form at design time
Project:  Delphi Build #:  14.0.3593.25826
Version:    15.0 Submitted By:   Serge (Developer Express Support)
Report Type:  Minor failure / Design problem Date Reported:  10/18/2010 12:04:23 AM
Severity:    Infrequently encountered problem Last Updated: 1/16/2012 7:57:14 PM
Platform:    All platforms Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The VCL technology prohibits setting the Visible property to False for MDIChild forms. For example, a "Cannot hide an MDI Child Form" exception occurs if this property is changed at design time in Delphi7 IDE. With Delphi XE it is possible to set the Visible property to False at design time. So, it is possible to create an invisible MDIChild form.
Steps to Reproduce:
1. Compile and run the sample.
2. An invisible MDIChild form is created.
3. Click button1 to display it.

Expected result:
Delphi XE IDE should prohibit changing the Visible property to False for MDIChild forms. We expect the same behavior as in the Delphi7 IDE.

Actual result:
With Delphi XE, it is possible to set the Visible property to False at design time. So, it is possible to create an invisible MDIChild form.
Workarounds
None
Attachment
Sample.zip
Comments

Tomohiro Takahashi at 10/20/2010 7:07:43 PM -
>[Steps]
> 3. Click button1 to display it.
Could you tell us more detail about your issue to verify it?
- expected result
- actual result

Serge (Developer Express Support) at 1/15/2012 11:38:50 PM -
The expected result: the Delphi XE IDE should prohibit changing the Visible property to False for MDIChild forms. We expect the same behavior as in the Delphi7 IDE.

Actual result : With Delphi XE it is possible to set the Visible property to False at design time. So, it is possible to create an invisible MDIChild form.

Server Response from: ETNACODE01