On Tuesday 30 July 2013 10:20:30 Martin Schreiber wrote:

> I suggest:
> "
>  tmainfo = class(t*form)
> [...]
>   private
>    widgetrectbefore: rectty;
>   public
>  end;
>
> procedure tmainfo.fullscreenexe(const sender: TObject);
> begin
>  if window.windowpos = wp_fullscreen then begin
>   widgetrect:= widgetrectbefore;
>   window.windowpos:= wp_normal;
>  end
>  else begin
>   widgetrectbefore:= widgetrect;
>   window.windowpos:= wp_fullscreen;
>  end;
> end;
> "
>
Can be simplified to
"
procedure tmainfo.fullscreenexe(const sender: TObject);
begin
 if window.windowpos = wp_fullscreen then begin
  window.windowpos:= wp_normal;
 end
 else begin
  window.windowpos:= wp_fullscreen;
 end;
end;
"
in git master 9ff1a6b7b4d1a578bc4a4badcde3680c4c9a0a5b, there was another bug 
with full screen handling. It is possible that it changes the strange 
behavior with the position in onresize too.

Martin



------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to