Skip to main content

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
------------------------------

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
------------------------------

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
------------------------------


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
------------------------------

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
------------------------------