On Friday 22 September 2017 14:49:03 fredvs wrote:
>
> 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.
Set bounds_cxmin = bounds_cxmax = bounds_cx.
> 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: --->
>
Bugs should be fixed not "workarounded". ;-)
"
diff --git a/src/main.pas b/src/main.pas
index 65b4d94..28c4353 100644
--- a/src/main.pas
+++ b/src/main.pas
@@ -260,6 +260,7 @@ begin
si1.cx:= maxwidth;
if visiblecount = 0 then begin
si1.cy:= emptyheight;
+ si1.cx:= basedock.width; //do not change width
end
else begin
si1.cy:= totheight + (visiblecount-1) * basedock.dragdock.splitter_size;
"
Martin
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk