floatingStyle
Type: Integer
Availability: Read or write at any time
The floatingStyle property of the JadeDockBase class indicates whether the control can be floated or dragged. The floatingStyle property settings are listed in the following table.
JadeDockBase Class Constant | Integer Value | Comment |
---|---|---|
FloatingStyle_Close | 1 | |
FloatingStyle_NoClose | 2 | Default value for the JadeDockBar control |
FloatingStyle_None | 0 | Default value for the JadeDockContainer control |
Use the FloatingStyle_None (0) value to indicate that the control is just a container that can be neither floated nor dragged.
Use the FloatingStyle_Close (1) value if the control can be floated and dragged. When a control that has this style is floated, the floating form is displayed with a Close button that allows the user to close the form.
If the user closes the floating form, the docking control is transferred back to being an invisible child of the original JADE form and requires JADE logic action to make the control visible to the user again.
The dock control that is being hidden receives a JadeDockBar or JadeDockContainer class docked event method. You can determine this situation by checking the value of the visible property of the control.
Use the FloatingStyle_NoClose (2) value when the control can be floated and dragged. When a control that has this style is floated, the floating form is displayed without a Close button and the user cannot close the form. The form is destroyed only when the control is docked back into the original form or when the original form is closed.