Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
VCL
8-Byte Alignment
Action Classes
Additional Controls
Core VCL Classes
DFM to TEXT
Dialog Controls
Docking
Drag/Drop
Emulation Classes
Exceptions
Gestures
Graphics
MAPI Support
MDI Support
Multi-Monitor Support
OnGesture event
Printing
Property/Type Editors
Registry / INI Objects
Ribbon Controls
Sample Controls
Services
Standard Controls
Styles
System Controls
Thread support
Touch Controls
Type Info
Win 3.1 Controls
Win 32 Controls
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/VCL/MDI Support
[ Add a report in this area ]
Report #:
82177
Status:
Open
Bug in Form Inheritance in combination with MDIChild forms.
Project:
Delphi
Build #:
14.0.3593.25826
Version:
14.0
Submitted By:
Bob Swart
Report Type:
Basic functionality failure
Date Reported:
2/16/2010 5:13:26 AM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
288025
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
ExplicitWidth and ExplicitHeight values are ignored in MDIChild forms, when ancestor form is a "normal" form with ClientHeight and Width values.
Steps to Reproduce:
If you open this project "Inheritance" and then specifically the uFather,
then you will notice that the form is not shown: the caption seems to be empty
(and you may see a border of the form, but without content).
The Object Inspector shows ClientHeight = 0 and ClientWidth = 115 for the form.
The problem is caused by the fact that the root form TGrantFather is of normal type,
but the child form (called TFather - this was part of a bigger app) is a MDIChild.
The DFM file contains the following size definitions for TGrandFather:
ClientHeight = 337
ClientWidth = 635
But for TFather it contains only:
ExplicitWidth = 651
ExplicitHeight = 375
And these properties seem to be ignored when the form type is MDIChild.
Workarounds
Rebuilding the project seems to update the designer? (very strange, but it works)
Attachment
82177.zip
Comments
shraga Milon at 10/6/2011 12:41:46 AM
-
I have this same problem :-(
Very Annoying
Why there is no update for this bugs ?
Shraga
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us