Default swatch size for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefSwatchSize", Array)

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>WidthIntegerThe width of new items' swatches13
<2>WidthIntegerThe height of new items' swatches13

Remarks

The DefSwatchSize property establishes the default swatch dimensions 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 ItemSwatchSize property for details.

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

Example

// Make swatches 24 pixels wide by default 
Set_Property(@Window:".OLE_TREE", "OLE.DefSwatchSize", 13)

See Also

ItemSwatchSize

  • No labels