home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 25.5. A browse cursor that flashes slowly.
- Author: Craig Yellick
- 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 SlowFlash(browse)
- /*
- A browse cursor that flashes slowly.
- On for half a second, off for a quarter second.
- */
- local key
- do while .t.
- browse:hilite()
- if (key := inkey(.5)) <> 0
- exit
- endif
- browse:deHilite()
- if (key := inkey(.25)) <> 0
- exit
- endif
- enddo
- return key
-
- // end of file CHP2505.PRG
-