dcl_Form_SetDialogMinMaxSizes do not work on Dockable Forms

Started by hgcad, February 09, 2008, 03:14:20 AM

Previous topic - Next topic

hgcad

(dcl_Form_SetDialogMinMaxSizes qcTools04_Form MinWidth [as Integer]  MinHeight [as Integer]
MaxWidth [as Integer]  MaxHeight [as Integer])

dcl_Form_SetDialogMinMaxSizes  Works on Modal forms, But not Dockable Forms in version 4.1 or Alpha 5.0

Also in Alpha 5.0  when Dockable Form is floating I tried resizing from a TabControl with preset width/height,
but only the TabControl resized, I had resize it manually.

Check to confirm this.

Thanks,

Hgcad


[attachment deleted by admin]

owenwengerd

Docking dialogs do not have minimum and maximum size properties. The NIL return value from (dcl_Form_SetDialogMinMaxSizes) indicates that the function failed, in this case because the properties did not exist.

I've added the min/max size properties to docking dialogs in Alpha 4. The properties only apply when the dialog is floating. I've also done some work on supporting programmatic size changes, but again it only works properly when the dialog is floating.
Owen Wengerd (Outside The Box) / ManuSoft