home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / a / amiga_vision_professional / amigavisionprofessiv2.04d.dms / in.adf / AutoHilite.doc < prev    next >
Encoding:
Text File  |  1992-12-01  |  3.6 KB  |  80 lines

  1. NAME
  2.     AutoHilite.AVf
  3.  
  4.  
  5. DESCRIPTION
  6.     AutoHilite.AVf is an example of the four automatic highlighting modes
  7.     available in AmigaVision Professional.
  8.  
  9.     When this example is presented, a group of 24 hit boxes is displayed.
  10.     The highlighting mode being demonstrated is printed in the field at
  11.     the top of the screen. Clicking on any hit box will cause the next
  12.     auto-hiliting mode to be demonstrated. At any time the F1 key can be
  13.     pressed to quit the example.
  14.  
  15.     NOTE: When using one of the automatic highlighting modes while on
  16.           the AmigaVision Editor screen, the right mouse button does
  17.           not abort the presentation. You must use the F1 key to quit.
  18.  
  19.     The variable called Mode is used to display the auto-hiliting mode in
  20.     use. Its presents is not required to set an auto-hiliting mode.
  21.  
  22.     In all the auto-hiliting modes, a "hit box" refers to an object that
  23.     has a string in the response field.
  24.  
  25.     AUTO-HILITE WITH POINTER
  26.  
  27.     Traits of the Auto-Hilite with Pointer mode are:
  28.         1) The pointer is always present on the screen.
  29.         2) When the pointer moves over a hit box, the selected state of
  30.            the object is displayed (i.e. that object is highlighted).
  31.         3) To select this hit box, a mouse button must be clicked.
  32.  
  33.     The first auto-hiliting mode demonstrated is Auto-Hiliting with
  34.     Pointer. The ObjSet() function assigns the value "Pointer" to the
  35.     AutoHilite attribute of the AVSystem.Interface object. This expression
  36.     is all that is necessary to set this mode.
  37.  
  38.     AUTO-HILITE WITHOUT POINTER
  39.  
  40.     Traits of the Auto-Hilite without Pointer mode are:
  41.        1) The pointer is removed from the screen.
  42.        2) One hit box is always displayed in its selected state (i.e.
  43.           highlighted).
  44.        3) As the mouse is moved, the highlight is also moved among the
  45.           available hit boxes.
  46.           For example, if one hit box is highlighted and the mouse is
  47.           moved to the left, the current hit box is un-highlighted and
  48.           the next hit box to the left is highlighted.
  49.  
  50.     When you use the Auto-Hilite without Pointer mode, you must choose one
  51.     of three options: NoWrap, SameLine, or NextLine.  These options
  52.     determine the type of wrap-around action performed when the highlight
  53.     reaches the edge of the screen.
  54.  
  55.     The second auto-hiliting mode demonstrated in this example is
  56.     Auto-Hiliting without Pointer using the NoWrap option. To set the mode,
  57.     the following expression is used:
  58.          ObjSet ("AVSystem.Interface", "AutoHilite", "NoPointer").
  59.  
  60.     The following expression is used to set the NoWrap option:
  61.          ObjSet ("AVSystem.Interface.Pattern", "WrapAround", "NoWrap").
  62.  
  63.     When the highlight reaches the end of the row of hit boxes, no wrap
  64.     around of any kind is used.
  65.  
  66.     The third auto-hiliting mode demonstated is the same as the second,
  67.     only using the SameLine option. This option is set with the ObjSet()
  68.     function.  ObjSet() assigns the value "SameLine" to the WrapAround
  69.     attribute of the system object AVSystem.Interface.Pattern. When the
  70.     highlight reaches the end of the row of hit boxes, the highlight
  71.     moves to the beginning of the same line.
  72.  
  73.     The last auto-hiliting mode demonstated is the same as the second and
  74.     third (Auto-Hilite without Pointer) but the NextLine option is used.
  75.     The NextLine option is set by using the ObjSet() function to assign
  76.     the value "NextLine" to the WrapAround attribute of the system object
  77.     AVSystem.Interface.Pattern. When the highlight reaches the end of the
  78.     row of hit boxes, the highlight moves to the beginning of the next row.
  79.  
  80.