Lister Set

back to section start!

 ArcDir  (There are many more than just this example in ArcDir.)

  You can set various lister attributes, (sorting, title, etc), file
displays, (eg. hide icon files, #?.info), with the  lister set  command.

  There are quite a lot of parameters for this command, a full description
can be found in the DOpusM2_ARexx.guide.

  Versions of lister set that in some way change the lister display require
a  lister refresh  statement issued before the changes become visible.

  If the command only changes the entry display of the lister, then only
a 'lister refresh ' is required.
  If it changes the titlebar, status bar, etc, then you need to issue a
'lister refresh  full'.

Some examples of setting attributes are as follows:


 /* ListerSet.dopus5 */ 
options results
address 'DOPUS.1'
lister new mode name "SYS:"
handle = result                              /* Store the handle */
call setclip('Lister.test',handle)
exit

  Run the above example, then click on one of the buttons below to change
various options of the lister.

 lister set handle dest 
 lister set handle source 
 lister set handle busy on 
 lister set handle busy off 
 lister set handle header 'This is the header' 
 lister set handle title 'This is the title' 
 lister set handle mode icon 
 lister set handle mode icon action 
 lister set handle mode name 
 lister set handle flags reverse 
 lister set handle separate filesfirst 
 lister set handle toolbar 'RAM:Demo.tb' 

  Click on this  button  to close the lister.

DOpus PLUS - giving you that bit extra...