Delphi - Why does ExplicitWidth and ExplicitHeight keep appearing in .DFM files and what is it!?

Posted by Pauk on Stack Overflow See other posts from Stack Overflow or by Pauk
Published on 2010-03-19T11:07:34Z Indexed on 2010/03/19 11:11 UTC
Read the original article Hit count: 323

Filed under:
|

We've noticed that when checking in updates that our .DFM files have had ExplicitWidth and ExplicitHeight properties added for what appears to be no particular reason.

My two questions are, what are they for and why do they get automatically added by Delphi?

Below is an example with the property in:

object Splitter2: TcxSplitter
    Left = 0
    Top = 292
    Width = 566
    Height = 8
    Cursor = crVSplit
    HotZoneClassName = 'TcxXPTaskBarStyle'
    AlignSplitter = salBottom
    Control = BottomPanel
    Color = clBtnFace
    ExplicitWidth = 8
end

© Stack Overflow or respective owner

Related posts about delphi

Related posts about dfm