Excalibur Software PropertyList 3.0
AddEx
Function AddEx(lIndex As Long, sName As String, _
[nType As ItemTypes = ExPropStringValue], _
[sInitValue As String], [lBackColor], [lForeColor], _
[IPic As StdPicture], [istdFont As StdFont]) _
As Property
Description
Adds a Property object to the Properties collection,
optionally inserting the item at a location other than
at the end of the list.
Parameters:
- lIndex - The index (1-based) that the property should
be inserted at. If an invalid value is specified, the property
will be added at the end of the list.
- sName - The name of the property. This is also the
string to be displayed as the item's title in the first
column unless the Caption
property of this Property object is later changed.
- nType - Optional. The data type of the item, which
determines the tools available to the user to modify
the item's value. See the
ItemType property for more information.
- sInitValue - Optional. The initial value of the
item.
- lBackColor - Optional. The color used to draw the
background of the item. If this argument is omitted,
the item's backcolor will default to the PropertyList's
current BackColor.
- lForeColor - Optional. The color used to draw the
text of the item. If this argument is omitted,
the item's backcolor will default to the PropertyList's
current ForeColor.
- IPic - Optional. The Picture object to be displayed to
the left of the item's name.
- istdFont - Optional. The font to be used for
the item's text.
Return Value
This method returns the Property object that was added
to the Properties collection.