Base interface for classes that consume input events (see InputEvent).
interface
|
IInputConsumer
|
base of
|
Component
|
||
IApplication
|
|||||
IInputConsumerEx
|
|||||
ScrollControl
|
Consumes the given user input event.
method
|
ConsumeInput
(InputEvent inputEvent)
|
||
type
|
bool
|
||
params
|
inputEvent
|
The user input event. | |
returns
|
true
if
the
input
event
has
been
consumed,
false
if
not. |
Remarks:
Input events are provided to an IInputConsumer object only if it has the input focus (see FocusGained and FocusLost). Mouse events are provided when the mouse cursor is inside of the input bounds (MouseEnter and MouseLeave). The Closing event can be provided at any time.