|
@@ -366,7 +366,7 @@ end;
|
|
|
|
|
|
procedure TRect.setHeight(AValue: Longint);
|
|
procedure TRect.setHeight(AValue: Longint);
|
|
begin
|
|
begin
|
|
- right:=left+avalue;
|
|
|
|
|
|
+ bottom:=top+avalue;
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TRect.SetLocation(X, Y: Longint);
|
|
procedure TRect.SetLocation(X, Y: Longint);
|
|
@@ -387,7 +387,7 @@ end;
|
|
|
|
|
|
procedure TRect.setWidth(AValue: Longint);
|
|
procedure TRect.setWidth(AValue: Longint);
|
|
begin
|
|
begin
|
|
- bottom:=top+avalue;
|
|
|
|
|
|
+ right:=left+avalue;
|
|
end;
|
|
end;
|
|
|
|
|
|
function TRect.SplitRect(SplitType: TSplitRectType; Percent: Double): TRect;
|
|
function TRect.SplitRect(SplitType: TSplitRectType; Percent: Double): TRect;
|