Changeset 622 for trunk/LocalPlayer/Diagram.pas
- Timestamp:
- Sep 15, 2024, 10:04:45 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Diagram.pas
r550 r622 291 291 procedure TDiaDlg.FormShow(Sender: TObject); 292 292 begin 293 if WindowMode = wmModal then 294 begin { center on screen } 295 Left := (Screen.Width - Width) div 2; 296 Top := (Screen.Height - Height) div 2; 297 end; 293 if WindowMode = wmModal then CenterToScreen; 298 294 OffscreenPaint; 299 295 end;
Note:
See TracChangeset
for help on using the changeset viewer.