TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: Faster on December 21, 2012, 01:00:45 AM

Title: OpenDcl question:The palettes dialog docked at the right side of screen
Post by: Faster on December 21, 2012, 01:00:45 AM
Hi all:
How to control the palettes dialog docked at the right  side  of  screen ?

Is the system variable or environment variable control?

Title: Re: OpenDcl question:The palettes dialog docked at the right side of screen
Post by: Kerry on December 21, 2012, 03:57:34 AM
Have a look at the property DockableSides

Friendly Name Dockable Sides
API Name DockableSides
Type Integer
Restrictions Range is 0 - 5
Get Function   (dcl_Control_GetDockableSides <CONTROL>)
Set Function   (dcl_Control_SetDockableSides <CONTROL> NewValue [as Integer])
Applies To Control Bar, Palette

This property determines which sides of the AutoCAD window the control bar can dock to.

Value Description
0 Left and right
1 Top only
2 Bottom only
3 Top and bottom
4 Left, right, top
5 Any side

Title: Re: OpenDcl question:The palettes dialog docked at the right side of screen
Post by: Faster on December 21, 2012, 09:44:09 AM
Have a look at the property DockableSides

Friendly Name Dockable Sides
API Name DockableSides
Type Integer
Restrictions Range is 0 - 5
Get Function   (dcl_Control_GetDockableSides <CONTROL>)
Set Function   (dcl_Control_SetDockableSides <CONTROL> NewValue [as Integer])
Applies To Control Bar, Palette

This property determines which sides of the AutoCAD window the control bar can dock to.

Value Description
0 Left and right
1 Top only
2 Bottom only
3 Top and bottom
4 Left, right, top
5 Any side
Thanks Kerry.
I knew the value 0 is Left or Right!
I want to start up the dialog on the right ,How do I confirm it?