Changeset 495
- Timestamp:
- Dec 17, 2023, 11:54:58 PM (12 months ago)
- Location:
- trunk/Packages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/DrawDlg.pas
r471 r495 193 193 procedure TDrawDlg.VisibleChangedHandler(Sender: TObject); 194 194 begin 195 // LCL hides all StayOnTop forms during ShowModal. 196 // Fix this to keep them visible. 197 if (TFormStateType.fsModal in FormState) and Visible then 198 Application.RemoveStayOnTop(True); 199 195 200 MoveActive := False; 196 201 -
trunk/Packages/DpiControls/Dpi.Forms.pas
r473 r495 191 191 procedure UpdateMainForm(AForm: TForm); 192 192 procedure CreateForm(InstanceClass: TComponentClass; out Reference); 193 procedure RemoveStayOnTop(const ASystemTopAlso: Boolean = False); 193 194 function MessageBox(Text, Caption: PChar; Flags: Longint = MB_OK): Integer; 194 195 property MainForm: TForm read GetMainForm write SetMainForm; … … 463 464 end; 464 465 466 procedure TApplication.RemoveStayOnTop(const ASystemTopAlso: Boolean); 467 begin 468 GetNativeApplication.RemoveStayOnTop(ASystemTopAlso); 469 end; 470 465 471 function TApplication.MessageBox(Text, Caption: PChar; Flags: Longint 466 472 ): Integer;
Note:
See TracChangeset
for help on using the changeset viewer.