Progress
ADM 2 Reference


modifyListProperty (smart.p)

Allows values to be added to or deleted from any object property that is a comma-separated list.

Parameters:

INPUT phCaller AS HANDLE

Handle of the object whose property is being changed.

INPUT pcMode AS CHARACTER

"ADD" or "REMOVE".

INPUT pcListName AS CHARACTER

The name of the property.

INPUT pcListvalue AS CHARACTER

The value to add or remove.

Returns: Nothing (procedure)

Notes:

Examples:

/* This code will add an additional entry to the SupportedLinks property  
   for the object.*/ 
RUN modifyListProperty (INPUT THIS-PROCEDURE, INPUT ‘ADD’:U, INPUT  
   ‘SupportedLinks’:U, INPUT ‘SpecialLink’:U). 
/* This code adds the specified source procedure handle to the list of  
   "Source"s for the specified link in the specifed Target procedure  
    handle (from addLink). */ 
RUN modifyListProperty (INPUT phTarget, INPUT ‘ADD’:U, INPUT  
  pcLink + "Source":U, INPUT STRING(phSource)). 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095