>>It's nice to have Foxpro 2.6 help file around, don't you think? :)
>>To get 'Delete' key to work add comma to the end of the list in the InputMask and following code to the textbox keypress event. It works but I didn't test it extensivly.
>>
LPARAMETERS nKeyCode, nShiftAltCtrl
>>If nKeyCode = 7
>> DO Case
>> Case This.Value = "A"
>> Keyboard '{SPACEBAR}{SPACEBAR}'
>> Case This.Value = "I"
>> Keyboard '{SPACEBAR}'
>> Endcase
>>EndIf
>>
>>BTW, how do you lik my picture? :)
>
>Ok, it works great, but it's not enough :) I want to activate BackSpace too, e.g. want to be able to click after I and delete it using BackSpace. Currently I can only click before I/A.
>
>Anyway, it's not a big of a deal...
Change If line to
If InList(nKeyCode, 7, 127)
BTW, they can use spacebar to toggle values in the textbox.
--sb--