Problem with Browse
Posted: Fri Nov 06, 2009 2:47 pm
Hola :
Les envio un ejemplo simple en la cual se puede ver el comportamiento extraño del browse .
El problema es que el browse no se posiciona en el primer registro .
Esto sucede cuando la funcion Busca2_articulo() esta en el evento onchange del combo_2 . Sacando esta funcion del evento onchange o bien colocandola en el onenter el browse se posiciona correctamente .
Otro comportamiento extraño sucede en el textbox que muestra el precio . Cuando el precio es cero el textbox aparece en blanco salvo que el precio sea mayor a cero (0.00) .
Ahora bien una vez que el textbox muestra un precio superior a cero , a partir de alli muestra el cero correctamente .
No se si estoy cometiendo algun error o bien es un bug .
HMG 3.0
Saludos .
Mario Mansilla
Hi:
I sent a simple example which you can see the strange behavior of the browse.
The problem is that the browser no stand on the first record.
This happens when Busca2_articulo function () is in the onchange event of combo_2. Taking this function onchange event or placed on the OnEnter the browse is positioned correctly.
Another strange behavior happens in the textbox that shows the price. When the price is zero, the textbox is blank unless the price is greater than zero (0.00).
But once the textbox shows a price greater than zero, from zero shows correctly there.
Do not know if I'm doing something wrong or is it a bug.
HMG 3.0
Greetings.
Mario Mansilla
Les envio un ejemplo simple en la cual se puede ver el comportamiento extraño del browse .
El problema es que el browse no se posiciona en el primer registro .
Esto sucede cuando la funcion Busca2_articulo() esta en el evento onchange del combo_2 . Sacando esta funcion del evento onchange o bien colocandola en el onenter el browse se posiciona correctamente .
Otro comportamiento extraño sucede en el textbox que muestra el precio . Cuando el precio es cero el textbox aparece en blanco salvo que el precio sea mayor a cero (0.00) .
Ahora bien una vez que el textbox muestra un precio superior a cero , a partir de alli muestra el cero correctamente .
No se si estoy cometiendo algun error o bien es un bug .
HMG 3.0
Saludos .
Mario Mansilla
Hi:
I sent a simple example which you can see the strange behavior of the browse.
The problem is that the browser no stand on the first record.
This happens when Busca2_articulo function () is in the onchange event of combo_2. Taking this function onchange event or placed on the OnEnter the browse is positioned correctly.
Another strange behavior happens in the textbox that shows the price. When the price is zero, the textbox is blank unless the price is greater than zero (0.00).
But once the textbox shows a price greater than zero, from zero shows correctly there.
Do not know if I'm doing something wrong or is it a bug.
HMG 3.0
Greetings.
Mario Mansilla