>Posted this the other day. Anyone have any ideas??
>
>I have disabled my function keys with CLEAR MACROS but when I press a
>function key on a text field I get control characters.
>The format property of my textfield is K!
>I've noticed that if I take out the ! it works fine i.e. nothing happens
>when I press a function key.
>What is going on here? Any ideas
>
>Also is there an easy way apart from lots of ON KEY LABELs to disable control keys which are not relevant to avoid getting control characters in my edit boxes?
>
>Thanks
Danged if I know. I tried:
In the Form's Init --
for i = 1 to fkmax()
set function 1 to ""
endfor
In the TextBox InterActiveChange --
if LastKey() < 0
This.Value = ""
return 0
endif
Putting the LastKey() code in the IAC method works.
Mark McCasland
Midlothian, TX USA