mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-22 23:05:58 +02:00
LCL: TimePopup: better DoubleBuffered
git-svn-id: trunk@58102 -
This commit is contained in:
parent
5854ef0c77
commit
fc360e75a1
@ -20,7 +20,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, DateUtils, FileUtil, LCLType, Forms, Controls,
|
||||
Graphics, Dialogs, Grids, ExtCtrls, Buttons, StdCtrls, ActnList;
|
||||
Graphics, Dialogs, Grids, ExtCtrls, Buttons, StdCtrls, ActnList, WSForms;
|
||||
|
||||
type
|
||||
TReturnTimeEvent = procedure (Sender: TObject; const ATime: TDateTime) of object;
|
||||
@ -239,9 +239,7 @@ end;
|
||||
|
||||
procedure TTimePopupForm.ActivateDoubleBuffered;
|
||||
begin
|
||||
Self.DoubleBuffered := True;
|
||||
HoursGrid.DoubleBuffered := True;
|
||||
MinutesGrid.DoubleBuffered := True;
|
||||
DoubleBuffered := TWSCustomFormClass(WidgetSetClass).GetDefaultDoubleBuffered;
|
||||
end;
|
||||
|
||||
procedure TTimePopupForm.CalcGridHeights;
|
||||
|
Loading…
Reference in New Issue
Block a user