PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • How to find out whether a key was pressed?
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
tapiKeyPressed (Function)
In French: telToucheEnfoncée
Allows you to find out the history of the keys pressed on the phone keypad since the last call to tapiKeyPressed. The history of keys pressed is automatically re-initialized.
Example
ListKeys is string
ListKeys = tapiKeyPressed()
IF Position(ListKeys, "*") <> 0 THEN
Trace("The * key was used")
END
Syntax
<Result> = tapiKeyPressed([<Call Identifier>])
<Result>: Character string
List of keys pressed since the last call to tapiKeyPressed.
Caution: This list corresponds to the history of the keys pressed on both sides of the phone line (incoming side and outgoing side).
<Call Identifier>: Optional integer
Identifier of the call to handle. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks

How to find out whether a key was pressed?

To find out whether a key was pressed, use the tapiMonitoredDigit constant in the WLanguage procedure called by tapiDial or tapiListen.

Required configuration

This function can only be used with Windows XP or 2000. To use this function with the other operating systems, the Unimodem Voice of Microsoft must be installed.
Reminder: The telephony functions are using the TAPI 2.0 technology. This technology can be used on all the systems.
However, if the system used is Windows NT4, the service pack 4 (or later) must be installed.
Note: The TAPI 3.0 technology (and later) is not supported in this version.
Components
WINDEVReports and Queries wd230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment