Changeset 24 for branches/Xvcl/Xvcl.Controls.pas
- Timestamp:
- May 8, 2013, 2:53:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Xvcl/Xvcl.Controls.pas
r23 r24 125 125 inherited; 126 126 Move := TControlMove.Create; 127 FColor := clWhite; 127 128 end; 128 129 … … 169 170 procedure TControl.Paint; 170 171 begin 172 with Canvas do begin 173 Brush.Color := Color; 174 FillRect(TRectangle.Create(0, 0, Bounds.Width, Bounds.Height)); 175 end; 171 176 end; 172 177 … … 206 211 inherited; 207 212 with Canvas do begin 208 Brush.Color := Color;209 FillRect(TRectangle.Create(0, 0, Bounds.Width, Bounds.Height));210 213 MoveTo(TPoint.Create(0, 0)); 211 214 LineTo(TPoint.Create(Bounds.Width - 1, 0));
Note:
See TracChangeset
for help on using the changeset viewer.