BBjSysGui::isTouchSupported

Description

In BBj 20.32 and higher, this method returns a boolean indicating whether this device supports touch gestures.

Syntax

Return Value

Method
boolean

isTouchSupported()

Parameters

None.

Return Value

Returns a boolean indicating whether this device supports touch gestures.

Remarks

Applications may want to adjust the UI to better support touch devices (e.g., make buttons bigger).

Example

rem ' BBjSysGui::isTouchSupported

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
touch = sysgui!.isTouchSupported()
title$ = "BBjSysGui::isTouchSupported"
flags$ = $00090083$
window! = sysgui!.addWindow(25,25,400,100,title$,flags$,$$)
window!.setCallback(window!.ON_CLOSE,"eoj")
touch = sysgui!.isTouchSupported()
title$ = "isTouchSupported = " + Boolean.toString(touch)
window!.addStaticText(101,25,25,350,25,title$,$$)
process_events

eoj:
release

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.