Page 1 of 1

How to toggle INS key

Posted: Thu Mar 20, 2008 4:35 pm
by SteveLai
Is is possible to switch between OverType and Insert mode under program control? Thanks in advance :?:

Toggle INSERT / OVERWRITE

Posted: Thu Mar 20, 2008 4:57 pm
by ukoenig
Hello,

Just define a Var like :

Code: Select all

// Default
lSetInsert := .F.

If lSetInsert = .T.
      READINSERT( .T. )
ELSE
      READINSERT( .F. )
ENDIF

or :

IIF( lSetinsert = .T., READINSERT( .T. ), READINSERT( .F. ) )

Regards

Uwe :lol:[/code]

Thank You

Posted: Thu Mar 20, 2008 5:16 pm
by SteveLai
That works a treat ukoenig ... many thanks.