OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: stephan_35 on July 03, 2009, 01:52:32 AM

Title: behavior dcl_Form_Hide between "Palette" and "MODLESS" dialog boxes
Post by: stephan_35 on July 03, 2009, 01:52:32 AM
Hello

Difference on the "dcl_Form_Hide" between a dialog box "PALLET" and a dialog box "MODLESS".

The behavior of this command is different, in fact with a dialog box "MODLESS", the entire box is hidden, the dialog box "PALLET" graphics rest while its content is removed.


Best regards
Title: Re: behavior dcl_Form_Hide between "Palette" and "MODLESS" dialog boxes
Post by: stephan_35 on July 06, 2009, 06:00:06 AM
Put an example ...


Title: Re: behavior dcl_Form_Hide between "Palette" and "MODLESS" dialog boxes
Post by: owenwengerd on July 09, 2009, 09:20:58 AM
That behavior is by design. When a palette or dockable dialog is docked, it lives inside a parent container that may contain multiple child forms. Hiding a child form does nothing to the parent container. If you close it instead, then the screen layout is recalculated, and the parent container is destroyed along with the child.