Parameters, Comment, Sample vb-syntax – BECKHOFF CP9090-S100 User Manual
Page 41: Events, Skeydown, Twin cat
Advertising
Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149
41
TWIN
CAT
6. Events
SKeyDown
Occurs once when the user presses a SKey and the property "CycleEnabled" is TRUE.
HRESULT SkeyDown(
[in] short Index
);
Parameters
Index
Number of 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_SkeyDown(ByVal Index As Integer)
' add code here
End Sub
Advertising