Lister Remove

back to section start!

 ArcDir 

  The  lister remove  command allows you to remove entries from a lister.  It
doesn't delete the file or directory, just the entry in the display.

  This could be useful for use in a custom handler where you could be adding
and removing entries as the result of a user's actions.

  Example:


 /* ListerRemove.dopus5 */ 
options results
address 'DOPUS.1'
dopus front
lister new mode name 'SYS:'
handle = result
lister wait handle
text = 'We will now remove the ''Devs'' directory from the display'
lister request handle '"'text'" OK'
lister remove handle 'Devs'
lister refresh handle
address command wait 3
lister close handle
dopus back
exit

DOpus PLUS - giving you that bit extra...