1 Replies - 4571 Views - Last Post: 23 April 2007 - 08:17 PM Rate Topic: -----

#1 martyncoles   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-April 07

How do I trap the TAB key in Borland C++ for Windows

Posted 23 April 2007 - 02:25 PM

I am programing in Borland Turbo C++ for Windows. I need to disable the 'focus' control provided by the TAB key so that I can test when the TAB key is pressed. At the moment I can trap any other key with the exception of the TAB which has no effect on my program whatsoever. I have turned 'false' all Tabstop settings for all the objects on my 'Form' and none of the 'Taborder' values are set to '0' or '1'. The solution must be simple, as a friend demonstrated the solution in Java in 2 lines of code, but I need the solution in Borland. Someone please help.

Is This A Good Question/Topic? 0
  • +

Replies To: How do I trap the TAB key in Borland C++ for Windows

#2 NickDMax   User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2255
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: How do I trap the TAB key in Borland C++ for Windows

Posted 23 April 2007 - 08:17 PM

try this
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1