Użytkownik Paul McNett napisał:
> Ah, that's because we'd already set the Position property in a block above. 
> Seems 
> silly to set the Position before setting Right and Bottom and finally setting 
> Left 
> and Top. Here's a proposed modification, let me know if it still solves your 
> problem 
>   

I think its correct. First, you set window position/size, next you correct
it if across the bounds.

Hmm, after this patch, it works as you write it should not.
Although maximized form is restored properly, repositioned forms are 
restored
at their last positions if not across the bounds, but main form is 
always positioned
out ouf the screen, at his right down corner.
I don't know what previous code works for me and not for you,
since frame position is saved only for "Normal" state frame,
restoration should work as you mentioned.
I will try the same under Linux platform, but not today.

-- 
Regards
Jacek Kałucki


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/4980bf46.1060...@rz.onet.pl

Reply via email to