- Timestamp:
- May 9, 2020, 11:49:48 PM (5 years ago)
- Location:
- branches/highdpi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Integrated.lpi
r210 r214 16 16 <ResourceType Value="res"/> 17 17 <UseXPManifest Value="True"/> 18 <XPManifest> 19 <DpiAware Value="True"/> 20 </XPManifest> 18 21 <Icon Value="0"/> 19 22 <Resources Count="2"> -
branches/highdpi/Packages/DpiControls/UDpiControls.pas
r213 r214 437 437 FOnDeactivate: TNotifyEvent; 438 438 function GetBorderIcons: TBorderIcons; 439 function GetBorderStyle: T BorderStyle;439 function GetBorderStyle: TFormBorderStyle; 440 440 function GetDesignTimePPI: Integer; 441 441 function GetFormState: TFormState; … … 454 454 function GetWindowState: TWindowState; 455 455 procedure SetBorderIcons(AValue: TBorderIcons); 456 procedure SetBorderStyle(AValue: T BorderStyle);456 procedure SetBorderStyle(AValue: TFormBorderStyle); 457 457 procedure SetDesignTimePPI(AValue: Integer); 458 458 procedure SetFormStyle(AValue: TFormStyle); … … 493 493 property FormState: TFormState read GetFormState; 494 494 property FormStyle: TFormStyle read GetFormStyle write SetFormStyle; 495 property BorderStyle: T BorderStyle read GetBorderStyle write SetBorderStyle;495 property BorderStyle: TFormBorderStyle read GetBorderStyle write SetBorderStyle default bsSizeable; 496 496 property BorderIcons: TBorderIcons read GetBorderIcons write SetBorderIcons; 497 497 property LCLVersion: string read GetLCLVersion write SetLCLVersion; … … 2231 2231 procedure TDpiControl.UpdateVclControl; 2232 2232 begin 2233 Font.VclFont := GetVclControl.Font; 2233 2234 GetVclControl.OnResize := @VclFormResize; 2234 2235 GetVclControl.OnChangeBounds := @VclChangeBounds; … … 2636 2637 end; 2637 2638 2638 function TDpiForm.GetBorderStyle: T BorderStyle;2639 function TDpiForm.GetBorderStyle: TFormBorderStyle; 2639 2640 begin 2640 2641 Result := GetVclForm.BorderStyle; … … 2721 2722 end; 2722 2723 2723 procedure TDpiForm.SetBorderStyle(AValue: T BorderStyle);2724 procedure TDpiForm.SetBorderStyle(AValue: TFormBorderStyle); 2724 2725 begin 2725 2726 GetVclForm.BorderStyle := AValue;
Note:
See TracChangeset
for help on using the changeset viewer.