Contents | Index | < Browse | Browse >

  INFO ITEM ARGUMENT

  This command will cause the given ITEM to become the CURRENT
  one. This is used with  internal variables  which will 
  reflect the values of CURRENT gadgets or other items.

  Gadgets will automatically become CURRENT when clicked upon.
  With this command however, you can make any other gadget the
  current one, if you need the internal variables to reflect
  its values.

  All other items will become current only if specifically
  chosen with this command.

  The ITEMs you can use INFO on, and their ARGUMENTs are :

   GUI      GuiName

     Will select another gui. The WIN &  SCREEN  int vars
     Will show you that gui's values.

   GADGET   GuiName/GadID

     Will select another gadget and make it "current"
     Example: Info Gadget MyGui.gc/2
     Note - For Listview specific variables, like  $$LV.LINE  
            etc, you must use the  LVUse  command - not INFO -
            Info will only change the $$GAD.soandso variables.

   PALETTE  GuiName/GadID

     Select another palette gadget 
     Example: Info Palette MyGui.gc/2
     Note - Again, this is for the palette specific internal 
            variables only, such as $$PAL.colors

   IMAGE    Alias

     Will select another image (for the image specific intvars).

   FILE     FileName

     Will select a file (give full path), so you can get info
     on it, such as size etc..

   VARIABLE VariableName

     Select a given variable, so you can get its length..