home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 17.10 Dispatch function
- Author: Joe Booth
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- function dispatch( cPop_up )
- LOCAL sarr_ :={}
- use POPUPS new
- locate all for POPUPS->pop_name = upper(cPop_up)
- if found()
- setcolor(POPUPS->pop_color)
- Aadd(sarr_,POPUPS->top_row)
- Aadd(sarr_,POPUPS->top_col)
- Aadd(sarr_,POPUPS->bottom_row)
- Aadd(sarr_,POPUPS->bottom_col)
- endif
- use
- return sarr_
-
- // end of file CHP1710.PRG
-