Changeset 378 for branches/highdpi/Packages/DpiControls/UDpiControls.pas
- Timestamp:
- Apr 24, 2021, 11:41:07 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/DpiControls/UDpiControls.pas
r353 r378 44 44 property OnMouseLeave; 45 45 property OnMouseEnter; 46 property OnDblClick; 46 47 property ParentFont; 47 48 end; … … 165 166 function GetHint: string; 166 167 function GetOnClick: TNotifyEvent; 168 function GetOnDblClick: TNotifyEvent; 167 169 function GetParentFont: Boolean; 168 170 function GetShowHint: Boolean; … … 182 184 procedure SetOnChangeBounds(AValue: TNotifyEvent); 183 185 procedure SetOnClick(AValue: TNotifyEvent); 186 procedure SetOnDblClick(AValue: TNotifyEvent); 184 187 procedure SetOnResize(AValue: TNotifyEvent); 185 188 procedure SetParentFont(AValue: Boolean); … … 263 266 property OnChangeBounds: TNotifyEvent read FOnChangeBounds write SetOnChangeBounds; 264 267 property OnClick: TNotifyEvent read GetOnClick write SetOnClick; 268 property OnDblClick: TNotifyEvent read GetOnDblClick write SetOnDblClick; 265 269 property OnMouseDown: TMouseEvent read FOnMouseDown write FOnMouseDown; 266 270 property OnMouseMove: TMouseMoveEvent read FOnMouseMove write FOnMouseMove; … … 3575 3579 end; 3576 3580 3581 function TDpiControl.GetOnDblClick: TNotifyEvent; 3582 begin 3583 Result := TControlEx(GetNativeControl).OnDblClick; 3584 end; 3585 3577 3586 function TDpiControl.GetParentFont: Boolean; 3578 3587 begin … … 3655 3664 begin 3656 3665 GetNativeControl.OnClick := AValue; 3666 end; 3667 3668 procedure TDpiControl.SetOnDblClick(AValue: TNotifyEvent); 3669 begin 3670 TControlEx(GetNativeControl).OnDblClick := AValue; 3657 3671 end; 3658 3672
Note:
See TracChangeset
for help on using the changeset viewer.