FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to toggle INS key
Posts: 11
Joined: Tue Apr 18, 2006 11:43 AM
How to toggle INS key
Posted: Thu Mar 20, 2008 04:35 PM

Is is possible to switch between OverType and Insert mode under program control? Thanks in advance :?:

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Toggle INSERT / OVERWRITE
Posted: Thu Mar 20, 2008 04:57 PM
Hello,

Just define a Var like :

// Default
lSetInsert := .F.

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

or :

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


Regards

Uwe :-)[/code]
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.
Posts: 11
Joined: Tue Apr 18, 2006 11:43 AM
Thank You
Posted: Thu Mar 20, 2008 05:16 PM

That works a treat ukoenig ... many thanks.

Continue the discussion