Thierry,
In textbox:keyPress(), I have this code:
lparameters nKeyCode, nShiftAltCtrl && nKeyCode, nShiftAltCtrl doc: modify class awtxt of aw.vcx method keypress or "view parent code" > awtxt
IF (Type('m.thisForm.wlHTMLgen') == 'L' AND m.thisForm.wlHTMLgen)
RETURN "13,1"
ENDIF
THIS.ReadOnly = .F.
It doesn't work. Nothing append.
The same code with an editbox works.
Any idea ?
Is this code in a class or an instance?
On textbox: URL de la requête :http://localhost/dooTest/DOMEvent.doo?&Event=blur&ObjAddr=compte_scx-credits&UserID=5I90OOZQV&PageInit=&nReq=6&ValueType=string&Value='0'
On editbox: URL de la requête :http://localhost/dooTest/DOMEvent.doo?&Event=keyup&ObjAddr=tabbord_scx-pageframe1-page1-repert&UserID=5I90OOZQV&PageInit=&nReq=2&ValueType=number&Value=13
If the next control in tab order is an edit box or a command button, we need to prevent the default event behaviour (jQuery event.preventDefault()) to avoid weird effects in the next control (such as clicking the button).
When using event.preventDefault() on .keyDown(), .keyUp() does not fire, which seems to be what happens in your case.