Progress
ADM 2 Reference
removeLink (smart.p)
Removes a specific link between two objects.
Parameters:INPUT phSource AS HANDLE
Source procedure handle.
INPUT pcLink AS CHARACTER
Link type name.
INPUT phTarget AS HANDLE
Link target object handle.
Returns: Nothing (procedure)Notes:
- This procedure both removes the handles of both Source and Target from the appropriate SmartObject properties (see addLink) and also does an UNSUBSCRIBE for each named event associated with the link.
- All SmartObject links are removed when an object is destroyed. This procedure could be used in application code to remove a specific link based on application requirements.
Examples:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |