Reputation: 161
TEdit looks like this in dfm of Delphi 2006 code.
object myEdit: TEdit
AlignWithMargins = True
Left = 15
Top = 25
Width = 50
Height = 20
Margins.Left = 20
Margins.Top = 30
Margins.Bottom = 16
Align = alLeft
Anchors = [akLeft, akTop, akRight, akBottom]
ExplicitWidth = 100
ExplicitHeight = 32
end
But some properties (like AlignWithMargins
, Margins
, Align
, ExplicitWidth
, ExplicitHeight
) are not there in Delphi 7. What are the equivalent properties in Delphi 7 and above versions?
Upvotes: 0
Views: 132
Reputation: 28516
Delphi 7 doesn't have those properties, nor equivalent ones, because Delphi 7 was released before Delphi 2006.
If you want to port code from Delphi 2006 to Delphi 7, you will have to delete all those properties from your .dfm
files.
Upvotes: 4