Package ilcd
Class ScreenParameters

Public Method getScreenIndex

int getScreenIndex()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns Description
screenIndex a integer which contains the index of the screen

Returns the index of the currently active draw screen in the range of 'M', 0 ... number of screens - 1 (M = main screen).

Example

ScreenParameters scrPar = Memory.getViewScreenParameters();

if (scrPar.getScreenIndex() == 'M')

{

   Draw.writeText(" This is the main screen! ");

}

See also:

Memory.getDrawScreenParameters()
Memory.getViewScreenParameters()