Problems getting Insert/Overtype to toggle

General TRichView support forum. Please post your questions here
Post Reply
TAG
Posts: 9
Joined: Wed Nov 02, 2005 10:12 pm

Problems getting Insert/Overtype to toggle

Post by TAG »

I want to be able to toggle between Insert and Overtype modes.

Is there an event that reads the state of the insert key?

Thanks for your help.
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Insert key does not have its state in a way like CapsLock or NumLock.
A program should start in its default mode (usually insert mode) and can switch mode when user pressed Insert in the editor window. OnKeyDown event can be used to detect it (only Insert must be pressed, without Shift and Ctrl).
See also: http://www.trichview.com/forums/viewtopic.php?t=171
Post Reply