Deletes the indicated object in the specified resource list.
PROCEDURE DeleteResourceFromList(
listID : LONGINT;
index : LONGINT);def vs.DeleteResourceFromList(listID, index):
return None| Name | Type | Description |
|---|---|---|
| listID | LONGINT | an ID for a resource list created by the BuildResourceList function. |
| index | LONGINT | an index into the list. |
BEGIN
DeleteResourceFromList (defaultListID, i);
defaultListCount := defaultListCount - 1;
END;
BEGIN
DeleteResourceFromList(ResourceListID,cnt);
NumResources := NumResources -1;
ENDimport vs
# Deletes the indicated object in the specified resource list.
listID = 1
index = 1
vs.DeleteResourceFromList(listID, index)Availability: from VectorWorks12.0