Command.PushKeyFocus Method

Invoked from the yellow thread to provide input to the blue thread program waiting for input. Sets parameter values and returns a WebDisplayFile with the focus set as dictated by those parameters.

Syntax

BegFunc PushKeyFocus Access(*Public) Type(ASNA.Monarch.WebDisplayFile)
   DclSrParm key           Type(ASNA.Monarch.Command.AidKey)
   DclSrParm virtualRowCol Type(*short)
   DclSrParm fieldname     Type(*String)
          

Parameters

key
ASNA.Monarch.Command.AidKey. The enumeration value defining the key the program would think was "pressed" by the user.
virtualRowCol
Short integer. The virtual row and column of the control with focus when the key was "pressed".
fieldname
String. The field name of the control with focus when the key was "pressed".

Returns

ASNA.Monarch.WebDisplayFile with the focus set as dictated by the parameters.

Remarks

This method does not affect the indicators that would normally be set/reset if the display file would have gone to the browser. In particular, no numeric indicator will be set based on the key "pressed". The waiting program must base its actions on the feedback AID or the INxx indicators.

Requirements

Namespace: ASNA.Monarch.WebDspF

Assembly: ASNA.Monarch.WebDspF.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro