Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescriptionDefault
<1>TypeOptionThe new item's data typeText
<2>FormatFormatted StringThe new item's output format""

...

The DefType property establishes the default data type and format of 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 ItemType property for details.

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

Example

Code Block
// Make all new items dates 
Set_Property(@Window:".OLE_TREE", "OLE.DefType", "Date":@FM:"MM/DD/YYYY")

See Also

ItemTypeDefSort