How to toggle INS key

How to toggle INS key

Postby SteveLai » Thu Mar 20, 2008 4:35 pm

Is is possible to switch between OverType and Insert mode under program control? Thanks in advance :?:
User avatar
SteveLai
 
Posts: 11
Joined: Tue Apr 18, 2006 11:43 am
Location: Scotland

Toggle INSERT / OVERWRITE

Postby ukoenig » Thu Mar 20, 2008 4:57 pm

Hello,

Just define a Var like :

Code: Select all  Expand view
// 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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Thank You

Postby SteveLai » Thu Mar 20, 2008 5:16 pm

That works a treat ukoenig ... many thanks.
User avatar
SteveLai
 
Posts: 11
Joined: Tue Apr 18, 2006 11:43 am
Location: Scotland


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 76 guests