Default swatch position for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefSwatchPosition", OptionValue)

Values

OptionValue can be set to one of the following valid options:

ValueAbbr.Description
LeftLShow a swatch on the left side of the new item's text
RightRShow a swatch on the right side of the new item's text

Default: Left

Remarks

The DefSwatchPosition property establishes the default swatch position for new items. Setting this property will not change existing items. Instead, newly added items will take on the setting established in this property. See the ItemSwatchPosition property for details.

For more information on how default properties can make you more efficient, see the Default Properties article.

Example

// Make right-side swatches the default 
Set_Property(@Window:".OLE_TREE", "OLE.DefSwatchPosition", "Right")

See Also

ItemSwatchPosition

  • No labels