Ignore:
Timestamp:
May 8, 2013, 2:53:22 PM (12 years ago)
Author:
chronos
Message:
  • Fixed: Make only one form focused at once.
  • Modified: Enhanced TList generic class to support more methods.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Xvcl/Xvcl.Controls.pas

    r23 r24  
    125125  inherited;
    126126  Move := TControlMove.Create;
     127  FColor := clWhite;
    127128end;
    128129
     
    169170procedure TControl.Paint;
    170171begin
     172  with Canvas do begin
     173    Brush.Color := Color;
     174    FillRect(TRectangle.Create(0, 0, Bounds.Width, Bounds.Height));
     175  end;
    171176end;
    172177
     
    206211  inherited;
    207212  with Canvas do begin
    208     Brush.Color := Color;
    209     FillRect(TRectangle.Create(0, 0, Bounds.Width, Bounds.Height));
    210213    MoveTo(TPoint.Create(0, 0));
    211214    LineTo(TPoint.Create(Bounds.Width - 1, 0));
Note: See TracChangeset for help on using the changeset viewer.