FrankValcarcel
18-Jun-2015, 07:56 PM
18.1B2
Set action mode does not seem to work with OnCloseModalDialog. Works with OnClick and other procedures.
Procedure OnCloseModalDialog Handle hoModalDialog
Boolean cancel
String sHold
Send GetRetval of hoModalDialog (&sHold) (&bCancel)
If (bCancel) Procedure_Return
WebSet psFTString of oSelectSerials to sHold
Send Rebuild_Constraints to (Server(oGrid))
Send MovetoFirstRow to oGrid
End_Procedure
Procedure OnLoad
Forward Send OnLoad
Send SetActionMode (RefProc(OnCloseModalDialog)) scModeProgress "Please wait while loading ..."
End_Procedure
Set action mode does not seem to work with OnCloseModalDialog. Works with OnClick and other procedures.
Procedure OnCloseModalDialog Handle hoModalDialog
Boolean cancel
String sHold
Send GetRetval of hoModalDialog (&sHold) (&bCancel)
If (bCancel) Procedure_Return
WebSet psFTString of oSelectSerials to sHold
Send Rebuild_Constraints to (Server(oGrid))
Send MovetoFirstRow to oGrid
End_Procedure
Procedure OnLoad
Forward Send OnLoad
Send SetActionMode (RefProc(OnCloseModalDialog)) scModeProgress "Please wait while loading ..."
End_Procedure