home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a012 / 1.ddi / CHAP17.EXE / CHP1710.PRG < prev    next >
Encoding:
Text File  |  1991-04-30  |  634 b   |  26 lines

  1. /*
  2.    Listing 17.10  Dispatch function
  3.    Author: Joe Booth
  4.    Excerpted from "Clipper 5: A Developer's Guide"
  5.    Copyright (c) 1991 M&T Books
  6.                       501 Galveston Drive
  7.                       Redwood City, CA 94063-4728
  8.                       (415) 366-3600
  9. */
  10.  
  11. function dispatch( cPop_up )
  12. LOCAL sarr_ :={}
  13. use POPUPS new
  14. locate all for POPUPS->pop_name = upper(cPop_up)
  15. if found()
  16.    setcolor(POPUPS->pop_color)
  17.    Aadd(sarr_,POPUPS->top_row)
  18.    Aadd(sarr_,POPUPS->top_col)
  19.    Aadd(sarr_,POPUPS->bottom_row)
  20.    Aadd(sarr_,POPUPS->bottom_col)
  21. endif
  22. use
  23. return sarr_
  24.  
  25. // end of file CHP1710.PRG
  26.