FW: @key
Kenneth Brody
kenbrody at bestweb.net
Tue Feb 15 07:43:01 PST 2005
Quoting "J. Ryan Kelley" <ryan.kelley at trinitytransport.com>:
> the actual code that is supposed to trap the key is at the very end of
> @entsel
>
> Then: k(4) = waitkey
> ~ If: k ne ""
> Then: pushkey k; end
Since k is a 4-character field, a "normal" keystroke will end up
with that keystroke followed by 3 spaces. (ie: pressing "u" will
cause field k to contain "u ".)
> ~ If: @sk eq "CDWN"
> Then: pushkey "b[CDWN][ENTR]"; end
> ~ If: @sk eq "CRUP"
> Then: pushkey "b[CRUP][ENTR]"; end
> ~ If: @sk eq "BRKY"
> Then: end
>
> as i understand it, if waitkey is "" then it is a system key. The wierd
> behavior is that it is randomly pushing down in dropdown menus, and
> sometimes when pressing 'U' to update, the first 3 characters of the
> first field are blanked out.
[...]
I'm not sure what you mean by "pushing down in dropdown menus", but
the reason for 3 characters being blanked out is described above. It
may also be the cause of other problems, but without specifics, I can
only guess.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list