[Contents] [Index] [Help] [Browse <] [Browse >]
lister query <handle> lock [state|format]

This command returns the current lock status of either the lister's
state or format.

 handle  is the handle of the lister in question.

Returns 0 to indicate "unlocked", and 1 to indicate "locked".

For example,
        + lister query 121132636 lock state
        > 0 

A lister state and/or format can be locked and unlocked by the
 lister set lock  command. While a lister's state (source/dest/off/etc.)
is locked the user cannot change it. Similarly, while a lister's format is
locked the user cannot change it (currently this just disables
the Format Edit Requester and it is still possible to change the format
with the field gadgets, if enabled -- hopefully this will be fixed
in the future).

Note that "locked" in this sense is nothing to do with the "locked source"
and "locked destination" states which you can put listers in to have
multiple source or destination listers, nor is it anything to do with
when a lister is "locked" in position. 

See also:

 lister set lock 
 lister query display 
 lister set display 
 lister set separate 
 lister query sort 
 lister set sort 
 lister query separate 
 lister query show 
 lister set show 
 lister query hide 
 lister set hide 
 lister query flags 
 lister set flags 
 lister clear flags 


Converted on 04 Nov 1998 with RexxDoesAmigaGuide2HTML 2.2 by Michael Ranner.