Parameters, Comment, Sample vb-syntax – BECKHOFF CP9090-S100 User Manual

Page 42: Skeypress, Twin cat

Advertising
background image

Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149

42

TWIN

CAT

SKeyPress

Occurs while the user presses a SKey and the property "CycleEnabled" is TRUE.

HRESULT SkeyPress(

[in] short Index

);

Parameters

Index

Number des SKey, 1..27

Comment

You can poll the state of an SKey by reading the property "SKey". If you set "CycleEnabled" to TRUE, SKey-
events will be fired if state of an SKey changed.

Sample VB-Syntax

Sub CP9030W9x1_SkeyPress(ByVal Index As Integer)

' add code here

End Sub

Advertising