Author Topic: OpenDcl question:The palettes dialog docked at the right side of screen  (Read 5332 times)

0 Members and 1 Guest are viewing this topic.

Faster

  • Guest
Hi all:
How to control the palettes dialog docked at the right  side  of  screen ?

Is the system variable or environment variable control?


Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: OpenDcl question:The palettes dialog docked at the right side of screen
« Reply #1 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

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Faster

  • Guest
Re: OpenDcl question:The palettes dialog docked at the right side of screen
« Reply #2 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?