Top  | Previous | Next

system.gui.setTouchscreenModeEnabled

Description

Alters a running client's touchscreen mode on the fly.

Syntax

system.gui.setTouchscreenModeEnabled(enabled)

Parameters

boolean enabled - The new value for touchscreen mode being enabled.

Returns

nothing

Scope

Client

Examples

This example could be used on an input heavy window's internalFrameActivated event to remove touch screen mode.

 

if system.gui.isTouchscreenModeEnabled():

   system.gui.setTouchscreenModeEnabled(0)

 

See also:

system.gui.isTouchscreenModeEnabled