UpdItemColor ()
Set the new items (model childs) color when the color scheme is set to Feature.
Usage
UpdItemColor( item )
Parameters
- item (tree-item)
- The newly created TreeItem object (new model child).
Return Value
None
Errors
The item must be created before.
Description
nodeElm= nodeVol + RS + 'ELEMENT_SET'
newItem = TreeItem( parent = VolumeItems[name],
name = "Element Set",
tooltip = 'Set the element set parameters',
whatsthis = 'Open a panel to define the parameters\n'
'for an element set\n',
helpURL = 'main.htm#element set',
sort = FALSE,
popup = (( 'Open', cmdOpenElementSet ),),
click2 = 'Open',
chkFlag = True,
path = nodeElm )
UpdItemColor( newItem )