Changeset 482 for trunk/Packages/DpiControls/Dpi.Controls.pas
- Timestamp:
- Dec 8, 2023, 10:49:12 AM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.Controls.pas
r476 r482 437 437 function TWinControl.GetBorderStyle: TBorderStyle; 438 438 begin 439 {$objectChecks-} 439 440 Result := TWinControlEx(GetNativeWinControl).BorderStyle; 441 {$objectChecks+} 440 442 end; 441 443 … … 472 474 procedure TWinControl.SetBorderStyle(AValue: TBorderStyle); 473 475 begin 476 {$objectChecks-} 474 477 TWinControlEx(GetNativeWinControl).BorderStyle := AValue; 478 {$objectChecks+} 475 479 end; 476 480 … … 595 599 GetNativeControl.OnResize := NativeFormResize; 596 600 GetNativeControl.OnChangeBounds := NativeChangeBounds; 601 602 {$objectChecks-} 597 603 TControlEx(GetNativeControl).OnMouseDown := MouseDownHandler; 598 604 TControlEx(GetNativeControl).OnMouseUp := MouseUpHandler; … … 601 607 TControlEx(GetNativeControl).OnMouseLeave := MouseLeaveHandler; 602 608 TControlEx(GetNativeControl).OnMouseWheel := MouseWheelHandler; 609 {$objectChecks+} 603 610 end; 604 611 … … 894 901 function TControl.GetOnDblClick: TNotifyEvent; 895 902 begin 903 {$objectChecks-} 896 904 Result := TControlEx(GetNativeControl).OnDblClick; 905 {$objectChecks+} 897 906 end; 898 907 899 908 function TControl.GetParentColor: Boolean; 900 909 begin 910 {$objectChecks-} 901 911 Result := TControlEx(GetNativeControl).ParentColor; 912 {$objectChecks+} 902 913 end; 903 914 904 915 function TControl.GetParentFont: Boolean; 905 916 begin 917 {$objectChecks-} 906 918 Result := TControlEx(GetNativeControl).ParentFont; 919 {$objectChecks+} 907 920 end; 908 921 … … 990 1003 procedure TControl.SetOnDblClick(AValue: TNotifyEvent); 991 1004 begin 1005 {$objectChecks-} 992 1006 TControlEx(GetNativeControl).OnDblClick := AValue; 1007 {$objectChecks+} 993 1008 end; 994 1009 995 1010 procedure TControl.SetParentColor(AValue: Boolean); 996 1011 begin 1012 {$objectChecks-} 997 1013 TControlEx(GetNativeControl).ParentColor := AValue; 1014 {$objectChecks+} 998 1015 end; 999 1016 1000 1017 procedure TControl.SetParentFont(AValue: Boolean); 1001 1018 begin 1019 {$objectChecks-} 1002 1020 TControlEx(GetNativeControl).ParentFont := AValue; 1021 {$objectChecks+} 1003 1022 end; 1004 1023 … … 1219 1238 begin 1220 1239 inherited; 1240 {$objectChecks-} 1221 1241 TGraphicControlEx(GetNativeGraphicControl).OnPaint := PaintHandler; 1242 {$objectChecks+} 1222 1243 end; 1223 1244
Note:
See TracChangeset
for help on using the changeset viewer.