Set that a field on the active display has been changed so that it will be updated to the host on the next AID entry key
void setMDT(int row, int column); void setMDT(int offset); |
Arguments
HostScreen
Required. HostScreen object.
Offset
Required. The offset position on the host screen of the first character of the field, not the attribute location (which is one character before the field data).
row
Required if not offset form. The row number on the host screen of the first character of the field, not the attribute location.
column
Required if not offset form. The column number on the host screen of the first character of the field, not the attribute location.
Remarks
In some cases, a field needs to be re-transmitted as "changed" even if the actual value has not been changed. This can be the case where a host application requests a terminal emulator user to "re-key" a value in order to confirm its contents. The normal Flynet Viewer behavior is to only change the MDT (Modified Data Tag) when the contents of the field are actually changed. This avoids issues and unnecessary host writes in a screen-scraping environment with code that updates fields even when the contents don't really need updating.
This method applies only to formatted (5250/3270) displays.
Requirements
Flynet Viewer
See Also
setAttribute | mappedSet | putKeys | putCommand | paddingMode | paddingChar | setText
Applies To: HostScreen object
© 2016 Inventu Corporation, Flynet LTD