Changeset 349 for branches/highdpi/Packages/DpiControls/UDpiControls.pas
- Timestamp:
- Apr 6, 2021, 8:11:02 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Packages/DpiControls/UDpiControls.pas
r308 r349 445 445 procedure ScreenChanged; override; 446 446 function ControlCount: Integer; 447 procedure SetFocus; virtual; 447 448 constructor Create(TheOwner: TComponent); override; 448 449 destructor Destroy; override; … … 562 563 property ModalResult: TModalResult read GetModalResult write SetModalResult; 563 564 function ShowModal: Integer; virtual; 565 procedure SetFocus; override; 564 566 procedure Close; 565 567 function CloseQuery: boolean; virtual; … … 2960 2962 end; 2961 2963 2964 procedure TDpiWinControl.SetFocus; 2965 begin 2966 GetNativeWinControl.SetFocus; 2967 end; 2968 2962 2969 constructor TDpiWinControl.Create(TheOwner: TComponent); 2963 2970 begin … … 3850 3857 begin 3851 3858 Result := GetNativeForm.ShowModal; 3859 end; 3860 3861 procedure TDpiForm.SetFocus; 3862 begin 3863 GetNativeForm.SetFocus; 3852 3864 end; 3853 3865
Note:
See TracChangeset
for help on using the changeset viewer.