×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Control F1 keycode with TP7 under XP

Control F1 keycode with TP7 under XP

Control F1 keycode with TP7 under XP

(OP)
XP will not pass the control f1 keycode through to my program.
Control F2 goes through fine.  Is there a cure?

RE: Control F1 keycode with TP7 under XP

I have no trouble using function key combinations under XP Home (even in windowed mode). Try the following short program to test if windows is really the problem:

program test;
uses crt;
var ch,ch2 : char;

begin
  repeat
    ch:=readkey;
    write(byte(ch):4);
    if ch=#0
     then writeln(byte(readkey):5)
     else writeln;
  until ch=#27;
end.

Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
http://student.vub.ac.be/~bvingerh/
Don't worry what people think about you. They're too busy wondering what you think about them.

RE: Control F1 keycode with TP7 under XP

(OP)
I ran your program and it does not react to the following control combinations.

control f1
control f3
control f6

I am using XP Pro and BP7.

RE: Control F1 keycode with TP7 under XP

Maybe you keyboard has some loose contacts; do these key combinations work in other (non-DOS) applications?

Regards,
Bert Vingerhoets
vingerhoetsbert@hotmail.com
http://student.vub.ac.be/~bvingerh/
Don't worry what people think about you. They're too busy wondering what you think about them.

RE: Control F1 keycode with TP7 under XP

(OP)
I found it.
WinDVD had programmed the Control F1 keystroke.  It was being intercepted and not sent to the TP ide or TP programs.

Thanks,

Steve

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close