Changeset 482
- Timestamp:
- Dec 8, 2023, 10:49:12 AM (11 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Integrated.lpi
r475 r482 78 78 </Item2> 79 79 <SharedMatrixOptions Count="2"> 80 <Item1 ID="151739052537" Targets="CevoComponents,Common,DpiControls" Modes="Debug" Value="-g -gl -gh - O1 -dDPI"/>80 <Item1 ID="151739052537" Targets="CevoComponents,Common,DpiControls" Modes="Debug" Value="-g -gl -gh -CirotR -O1 -dDPI"/> 81 81 <Item2 ID="186701832267" Targets="CevoComponents,Common,DpiControls" Modes="Release" Value="-CX -XX -O3 -dDPI"/> 82 82 </SharedMatrixOptions> … … 418 418 <CustomOptions Value="-dDEBUG 419 419 -dDPI"/> 420 <OtherDefines Count="2">421 <Define0 Value="DEBUG"/>422 <Define1 Value="DPI"/>423 </OtherDefines>424 420 </Other> 425 421 </CompilerOptions> -
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 -
trunk/Packages/DpiControls/DpiControls.lpk
r468 r482 13 13 <SyntaxOptions> 14 14 <SyntaxMode Value="Delphi"/> 15 <CStyleOperator Value="False"/> 16 <AllowLabel Value="False"/> 17 <CPPInline Value="False"/> 15 18 </SyntaxOptions> 16 19 </Parsing> 20 <CodeGeneration> 21 <Optimizations> 22 <OptimizationLevel Value="0"/> 23 </Optimizations> 24 </CodeGeneration> 25 <Linking> 26 <Debugging> 27 <GenerateDebugInfo Value="False"/> 28 </Debugging> 29 </Linking> 30 <Other> 31 <CompilerMessages> 32 <IgnoredMessages idx3123="True"/> 33 </CompilerMessages> 34 </Other> 17 35 </CompilerOptions> 18 36 <Description Value="Controls with dimensions independent to screen DPI setting. The controls use internally VCL controls. All positions and sizes are scaled from DPI independent values."/>
Note:
See TracChangeset
for help on using the changeset viewer.