Old clipper programmers sometimes used insert key as hot key for adding records. Shhould we continue thispractice?
Please send ypur views. Thanks in advance
Moderator: Rathinagiri
Code: Select all
#include <hmg.ch>
Function Main
define window main at 0, 0 width 400 height 300 title "Insert key test" main
DEFINE STATUSBAR
KEYBOARD
END STATUSBAR
define textbox text1
row 10
col 10
end textbox
define label lablel1
row 50
col 10
value "Please try to toggle Insert/Overwrite mode for Textbox"
autosize .t.
end label
end window
ON KEY INSERT OF MAIN ACTION MSGBOX("Insert key pressed!")
Main.Center
Main.Activate
Return