ON CLICK de GRID

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
Leopoldo Blancas
Posts: 387
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 3 times
Been thanked: 9 times

ON CLICK de GRID

Post by Leopoldo Blancas » Fri Mar 29, 2019 7:50 pm

Hi all,

Reviewing the examples of HMG, I realize that the ON CLICK event of the Grid in the example AGENDA, does not show the expected results, gives the previous result. In other words, it does not update the grid before ON CLICK. And putting this ON CLICK statement MsgBox (Form_1.Grid_1.Value) in another Grid gives the same erroneous result, some solution or suggestion?

Thank You
-----------------------------------------------------------------------------------------------------------------------------------------
Hola a Todos,

Revisando los ejemplos de HMG, me doy cuenta que el evento ON CLICK del Grid en el ejemplo AGENDA, no muestra los resultados esperados, da el resultado anterior. En otras palabras no actualiza el Grid antes de hacer ON Click. Y poniendo esta sentencia ON CLICK MsgBox(Form_1.Grid_1.Value) en otro Grid da el mismo resultado erroneo, alguna solución o sugerencia?

Gracias.

User avatar
andyglezl
Posts: 1113
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 32 times
Been thanked: 65 times
Contact:

Post by andyglezl » Fri Mar 29, 2019 9:51 pm

Cambia:

ON CLICK Pesquisa_Agenda()

por

ON CHANGE Pesquisa_Agenda()
Andrés González López
Desde Guadalajara, Jalisco. México.

Leopoldo Blancas
Posts: 387
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 3 times
Been thanked: 9 times

Post by Leopoldo Blancas » Fri Mar 29, 2019 10:15 pm

andyglezl wrote:
Fri Mar 29, 2019 9:51 pm
Cambia:

ON CLICK Pesquisa_Agenda()

por

ON CHANGE Pesquisa_Agenda()
Thanks

Leopoldo Blancas
Posts: 387
Joined: Wed Nov 21, 2012 7:14 pm
Location: México
Has thanked: 3 times
Been thanked: 9 times

Post by Leopoldo Blancas » Fri Mar 29, 2019 10:20 pm

Cierto...!!!

Se me paso razonar que ON CLICK no actualiza el Grid, lo hace al ultimo y ON CHANGE se ejecuta al hacer el cambio...

Disculpas!!!

Post Reply