[Toc][Index]

Close a folder





 
/* Close a folder                                                     */

   folderID = '<WP_OS2SYS>'

   call CloseFolder folderID
exit

/* ------------------------------------------------------------------ */
/* function: Close a folder                                           */
/*                                                                    */
/* call:     call closeFolder folderID                                */
/*                                                                    */
/* where:    folderID - Object ID of the folder                       */
/*                                                                    */
/* returns:  -                                                        */
/*                                                                    */
/* note:     Works only with Object REXX; WPS support for Object      */
/*           REXX must be active.                                     */
/*           This routine closes all (!) open views of a folder.      */
/*                                                                    */
/*                                                                    */
CloseFolder: PROCEDURE
  parse arg folderObjectID
  .wpobject˜wpclsQueryFolder( folderObjectID,1 )˜wpClose
return


  

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995
Peter Childs