Lister Iconify

back to section start!

  As it suggests, the  lister iconify  command allows you to 'iconify',
reduce it from a window to an icon, a lister or all listers.  This is useful
for making other things more visible on the Desktop without actually closing
the lister.

  Example:


 /* ListerIconify.dopus5 */ 
options results
lf = '0a'x
address 'DOPUS.1'
dopus front
lister new mode icon 'SYS:'
handle = result
text = 'When you close this requester'||lf||,
       'the lister will be iconified.'
dopus request '"'text'" OK'
lister iconify handle on                      /* Iconify the lister */
text = 'The lister is now iconified.'||lf||,
       'It will be de-iconified when'||lf||,
       'you close this requester.'
dopus request '"text'" OK'
lister iconify handle off                     /* Uniconify */
address command wait 2
lister close handle
dopus back
exit

  All listers can be iconified by replacing the handle with the word ALL.

DOpus PLUS - giving you that bit extra...