> It is a matter of style. Personally I think one should not restrict the
users  if they want to change the window size.

I agree with that too. But the "all docked" layout is to give users a "out
of the box" nice layout.
They may change the size of some forms (but I prefer to let some forms
unsizable, like the players.

But some forms, like the files form, should be sizable in height (unsizable
in width), like the files form while docked.
But this, I was not able to do.
Also, when using menu "All float", sometimes (many times) the main form
(with height = emptyheight), the caption "Drag/drop the window into this
area" does not appear and it is not possible to drag/drop forms anymore.

I have to use timerwait and then all is more than perfect: --->

 procedure tmainfo.ontimerwait(const Sender: TObject);
begin 
timerwait.enabled := false;

// this for the height = emptyheight problem
if height <= emptyheight then
 begin
 basedock.height:= height - 20 ;
 basedock.width:= width - 20 ;
end;

// this for the scrolled width form:
if fs_sbverton in container.frame.state then
 width := fowidth + scrollwidth  else width := fowidth ;

 end;
end;

Martin, please do not take it as reproach, MSE docking is working
**PERFECT**, those changes are because now I touch all mini details.

And with above code, all is more than perfect, after many hard testing.

Many, many thanks.

Fre;D
 





--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to