Changeset 85 for trunk/Back.pas


Ignore:
Timestamp:
Jan 16, 2017, 7:27:36 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Fullscreen mode under Linux. Maximized form was not spanned over main task bar.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Back.pas

    r73 r85  
    55
    66uses
    7   LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms;
     7  LCLIntf, LCLType, SysUtils, Classes, Graphics, Forms, Controls;
    88
    99type
     
    4444      LoadGraphicFile(img, HomeDir + 'Graphics' + DirectorySeparator + 'Background.png');
    4545    end;
     46    BoundsRect := Screen.MonitorFromWindow(Handle).BoundsRect;
     47    FormStyle := fsStayOnTop;
    4648  end else begin
    4749    WindowState := wsNormal;
Note: See TracChangeset for help on using the changeset viewer.