Add_Item - DfBaseList
Adds an item to the end of a list
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| iMessage | Integer | The message ID |
| sValue | String | The value to add |
Syntax
Procedure Add_Item Integer iMessage String sValue
Call Example
Send Add_Item iMessage sValue
Description
Items are added to the end of the object. The properties of the item are set according to the subclass of the object. If there are no items in the list, then the top_item property is set to the new item number. If the object is active, and the added item appears in the screen window, the display is automatically updated.
send add_item of oMyList msg_DoIt "Go!"
integer iCounter
for iCounter from 1 to 100
send add_item of oMyList msg_None iCounter
loop