Default swatch size for new items.
Set_Property(OLECtrlEntID, "OLE.DefSwatchSize", Array) |
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Width | Integer | The width of new items' swatches | 13 |
<2> | Width | Integer | The height of new items' swatches | 13 |
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.
// Make swatches 24 pixels wide by default Set_Property(@Window:".OLE_TREE", "OLE.DefSwatchSize", 13) |