PreventKeyClickEvent Method (DATALIST)
PLBCMP GUI Only, 9.7A
The PreventKeyClickEvent method allows the click event as generated by key actions for a Datalist to be enabled or disabled under program control.
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A DATALIST object that is modified.
Flags Affected: EOS, OVER, ZERO
Note the following:
The {return} value is always returned as a value of zero.
The ZERO flag is always set.
The EOS and OVER flags are always cleared.
When the input {value} parameter is non-zero, the DATALIST click events caused by end-user key action is disabled. When the input {value} is zero, the DATALIST click events caused by end-user key actions is enabled.
This method implements a DATALIST item selection behavior where only mouse actions generates click events by an end-user.
See Also: Method Syntax, DATALIST Methods, COMBOBOX Methods
![]() |