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.


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


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


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


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.


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