home *** CD-ROM | disk | FTP | other *** search
- // Tb05.prg
- //
- // Simple generic browse routine, MyBrowse1
- // Compile with /a /m /n /w
-
- #include "Inkey.ch"
-
- FUNCTION MyBrowse1(oTbr)
-
- LOCAL nKey
- LOCAL lExitRequested := .F.
-
- DO WHILE !lExitRequested
- FullStabilize(oTbr)
- nKey := InKey(0)
- IF !StdMeth(nKey, oTbr)
- // Check here for other keys ...
- DO CASE
- CASE nKey == K_ESC
- lExitRequested := .T.
- ENDCASE
- ENDIF
- ENDDO
-
- RETURN NIL