Talvez seja mais simples do que pensei rs.
Tente assim antes

Code:
    Function SayHello String sName Returns String
        String sReturn
        
        //Send OnClick of (oWebButton1(oScriptTeste(Self)))
        Send ClientAction "funcao1" //Here we call the JS function
        
        Move ("Hello," * sName +".") to sReturn
        
        Function_Return sReturn
    End_Function
Achei aqui https://support.dataaccess.com/Forum...-hide-keyboard