AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones de teléfono
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
tapiKeyPressed (Function)
In french: telToucheEnfoncée
Returns the history of the keys pressed on the phone keypad since the last call to tapiKeyPressed. The history of keys pressed is automatically reinitialized.
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 be handled. 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.
WINDEVUser code (UMC)

Required configuration

Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.
Component: wd290com.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local