Delphi XE2 compatibility
This commit is contained in:
parent
78f2b65e9c
commit
9ffd13c06e
@ -120,13 +120,13 @@ end;
|
|||||||
|
|
||||||
procedure TfrmMenuBarEditor.FormCreate(Sender: TObject);
|
procedure TfrmMenuBarEditor.FormCreate(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
{$IFDEF VER180}
|
{$IF CompilerVersion >= 18}
|
||||||
// Delphi (BDS) 2006
|
// Delphi (BDS) 2006
|
||||||
tbMenu.EdgeBorders := [];
|
tbMenu.EdgeBorders := [];
|
||||||
tbMenu.DrawingStyle := dsGradient;
|
tbMenu.DrawingStyle := dsGradient;
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
tbMenu.Flat := True;
|
tbMenu.Flat := True;
|
||||||
{$ENDIF}
|
{$IFEND}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user