How to toggle INS key

Post Reply
User avatar
SteveLai
Posts: 11
Joined: Tue Apr 18, 2006 11:43 am
Location: Scotland
Contact:

How to toggle INS key

Post by SteveLai »

Is is possible to switch between OverType and Insert mode under program control? Thanks in advance :?:
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Toggle INSERT / OVERWRITE

Post 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]
Last edited by ukoenig on Thu Mar 20, 2008 7:26 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
SteveLai
Posts: 11
Joined: Tue Apr 18, 2006 11:43 am
Location: Scotland
Contact:

Thank You

Post by SteveLai »

That works a treat ukoenig ... many thanks.
Post Reply