EventTaskType Property
Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid , TabControl, Wizard, TreeView
Description
Gets the task type of the function that starts with the event.
Usage
GGet Form.[Control].EventTaskType, var
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name.
- var
- Integer variable that will contain the value of the property.
Values
0 - Normal
1 - NoPause
2 - NoEmgAbort
Default: Normal
Remarks
When this property is set to 1 - NoPause, the event handler function is able to be run when other tasks are paused. When this property is set to 2 - NoEmgAbort, the event handler function is able to be run in the emergency stop state.
See Also
Form , Button Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ListBox Control , ComboBox Control , PictureBox Control , GroupBox Control , VideoBox Control , LED Control , ProgressBar Control , TrackBar Control , StatusBar Control , Tab Control, Wizard Control , Tree View Control
Example
Integer Ttype
GGet frmMain.btnPause.EventTaskType, Ttype
← Enabled Property F →