SP Screen Functions

 SS_SLICE()     Restores screen in a slicing fashion. Alternative to
                restscreen()
 SS_SLIDELEFT() Restores screen in a slide left fashion. Alternative
                to restscreen()
 SS_SLIDERIGHT()Restores screen in a slide right fashion. Alternative
                to restscreen()
 SS_IMPLODE()   Restores screen in an imploding fashion. Alternative
                to restscreen()
 SS_RISE()      Restores screen in a rise from bottom fashion.
                Alternative to restscreen()
 SS_HBLINDS()   Restores screen in a horizontal blind fashion.
                Alternative to restscreen()
 STANDARD()     Returns color integer for standard setting
 SS_WIPEV()     Restores screen in a wipe from top fashion.
                Alternative to restscreen()
 SS_SPLIT()     Restores screen in a split from middle fashion.
                Alternative to restscreen()
 SS_VBLINDS()   Restores screen in a vertical blind fashion.
                Alternative to restscreen()
 SS_WIPEH()     Restores screen in a wipe from left fashion.
                Alternative to restscreen()
 COLPIK()       Allows selection of colors from a list
 ENHANCED()     Returns color integer for ENHANCED setting
 BXX()          Draws a box on the screen of a given color
 ATT()          Colors a section of the screen, leaving the text intact
 PRNT()         Writes a string of a given color at row, column
 CLS()          Clear the screen with optional color,character
 UNSELECTED()   Returns color integer for UNSELECTED setting
 SS_FOLD()      Restores screen in a fold to middle fashion.
                Alternative to restscreen()
 SS_FADE()      Restores screen in a fadeaway fashion. Alternative to
                restscreen()
 SS_CLOSEV()    Restores screen in a vertical close fashion.
                Alternative to restscreen()
 SS_FALL()      Restores screen in a fall from top fashion.
                Alternative to restscreen()
 XBXX()         Draws an exploding box on the screen of a given color
 FADEAWAY()     Fades screen away , alternative to restscreen()
 SS_CLOSEH()    Restores screen in a horizontal close fashion.
                Alternative to restscreen()

 

SP_UNSELECTED

UNSELECTED()

  Short:
  ------
  UNSELECTED() Returns color integer for UNSELECTED setting

  Returns:
  --------
  <nColor> => numeric color integer for unselected
  color setting

  Syntax:
  -------
  UNSELECTED()

  Description:
  ------------
  Returns numeric color integer for use with functions
  which require it

  like ATT(), PRNT().

  Examples:
  ---------
   nUnsel = UNSELECTED()

   PRNT(10,10,"Waiting...",nUnsel)

  Notes:
  -------

  Source:
  -------
  S_UNSEL.PRG

 

SP_STANDARD

STANDARD()

  Short:
  ------
  STANDARD() Returns color integer for standard setting

  Returns:
  --------
  <nColor> => color integer for standard color setting

  Syntax:
  -------
  STANDARD()

  Description:
  ------------
  Returns numeric color integer for use with functions
  which require it like ATT(), PRNT().

  Examples:
  ---------
   nStan := standard()+128   && blinking

   PRNT(10,10,"Waiting...",nStan)

  Source:
  -------
  S_STAN.PRG

 

SP_PRNTFRML

PRNTFRML()

  Short:
  ------
  PRNTFRML() Prints a formletter created by formletr()

  Returns:
  --------
  Nothing

  Syntax:
  -------
  PRNTFRML(cForm,[nPageWidth],[nLeftMargin])

  Description:
  ------------
  Prints the form <cForm> from FORMS.DBF with a
  pagewidth of [nPageWidth] and a left margin of [nLeftMargin]

  <cForm> is normally the contents of the template stored in FORMS.DBF
  (previous documentation refered to this parameter as the NAME of the
  form, which is incorrect.

  Examples:
  ---------
  This is used internally by FORMLETR() and FASTFORM().
  Refer to its usage there.

  SELECT 0
  USE FORM
  locate for descript = "MY FORM LETTER" // find letter
  cForm = form->memo_orig      // load contents
  USE
  SELECT MYDBF
  PRNTFRML(cForm,79)


  Source:
  -------
  S_PRNTF.PRG


 

 

SP_PRNT

PRNT()

  Short:
  ------
  PRNT() Writes a string of a given color at row, column

  Returns:
  --------
  Nothing

  Syntax:
  -------
  PRNT(nRow, nColumn, cString, nColor)

  Description:
  ------------
  <nRow>       row

  <nColumn>    column

  <cString>    string

  <nColor>     color attribute

  Examples:
  ---------
   PRNT(10,10,"Hello there",47)  // +W/G

  Notes:
  -------
  Here mainly for compatibility with older version. Was
  previously a C function.

  Source:
  -------
  S_PRNT.PRG