Show/Hide Toolbars

Managing an FVTerm Child iFrame in Javascript

Called each time the active screen is being sent to the host (most relevant for 3270 or 5250 hosts).  Function declared like:

 

 function onSend(aidKey)

 {

         

 }

 

 

Parameter

Description

key

The key used to send the screen, such as '[enter]'

 

Return Value

Description

true

Send the AID key to the host and continue with the transition or cursor movement if VT style host

false

Cancel sending the AID key and current transition

 

Binding your onSend function

 

Bind your onSend in the FVMsgApi.ConnectMsgFVTerm or ConnectFVTerm function callback as follows:

 

 fvApi.onsend = onSend;