home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
FOXPRO
/
PRE307
/
MEMOHELP.PRE
< prev
next >
Wrap
Text File
|
1989-10-31
|
2KB
|
71 lines
procedure help_memo
private scrn,curs
* if type('h_m_first') = 'U'
* public h_m_first
* h_m_first = .t.
* else
* return
* endif
curs = savecurs()
save screen to scrn
set cursor off
push_ckeys()
*set key F1 to
if .not. file('memohelp.txt')
set console off
text to file memohelp.txt
Navigation Keys
Key Purpose
-----------------------------------------------------
Uparrow or Ctrl-E Move up one line
Dnarrow or Ctrl-X Move down one line.
Leftarrow or Ctrl-S Move left one character
Rightarrow or Ctrl-D Move right one character
Ctrl-Leftarrow or Ctrl-A Move left one word
Ctrl-Rightarrow or Ctrl-F Move right one word
Home Beginning of current line
End End of current line
Ctrl-Home Beginning of the text
Ctrl-End End of the text
PgUp Next edit window up
PgDn Next edit window down
Ctrl-PgUp Beginning of current window
Ctrl-PgDn End of current window
Editing Keys
Key Purpose
-----------------------------------------------------
Ctrl-Y Delete the current line
Ctrl-T Delete word right
Ctrl-B Reformat text in the edit window
Exit Keys
Key Purpose
-----------------------------------------------------
F10 Finish editing with save
Esc Abort edit and return original
endtext
set console on
endif
@ r1-1,c1-2 to r2+1,c2+1 double
memed(memoread('memohelp.txt'),r1,c1,r2,c2,'','EDIT KEYS','')
pop_keys()
*set key F1 to help_memo
restore screen from scrn
restcurs(curs)
return