Uniface User Forum

 View Only
  • 1.  Get Echap in Html Widget

    Posted 05-17-2024 05:28

    Hi,

    We often use Html Widget in .frm. We are able to communicate with this Widget :

    • Uniface => Html : hrough javacript functions,
    • Hmtl => Widget : with Uniface triggers.
    • it works fine.

    All this works fine.

    But if the user press Esc in this Html, do you know how this Esc statement can be send to Uniface ?

    Thanks a lot,

    Jérémie.



    ------------------------------
    Jérémie CEDOLIN
    Proges Plus
    Willems FR
    ------------------------------


  • 2.  RE: Get Echap in Html Widget
    Best Answer

    Posted 05-17-2024 05:35
    Edited by Jérémie CEDOLIN 06-07-2024 04:07

    Hi,

    You must define UNIFACEKEYS  property to your HTML widget, and add Esc value.

    In the trigger userKey of your component, test if($char=81)  

    Gilles.



    ------------------------------
    Hortion Gilles
    Dedalus Healthcare France
    Artigues Pres Bordeaux FR
    ------------------------------



  • 3.  RE: Get Echap in Html Widget

    Posted 06-07-2024 04:07

    Hi Gilles,

    The property "UNIFACEKEYS=Esc" works perfectly on my HTML Widget.

    Thanks a lot,

    Jérémie.



    ------------------------------
    Jérémie CEDOLIN
    Proges Plus
    Willems FR
    ------------------------------