satishnara
5th January 2010, 07:32
Hi,
We have a requirement in Baan IV as below:
The session should 'Exit' automatically after entering some value in the Form field without pressing 'TAB/Enter'.
Please let me know if someone has worked on similar requirement.
Thanks & regards,
Satish
saumya
5th January 2010, 08:05
when.field.changes:
end()
or
after.input:
end()
george7a
5th January 2010, 09:23
Just remember to save before exiting..
Hitesh Shah
5th January 2010, 16:55
when.field.changes or for that matter any field level event will be triggerred only after pressing tab or enter only .
If u r doing bar code entry and u want data to be accepted automatically without user enter or tab , there is setting in the bar code drivers to generate tab / enter after bar code is entered on the field.
satishnara
7th January 2010, 15:23
Hi,
I found about events such as "EVTKEYPRESS". But it not recognizing the typing of characters in a input field (instead it is considering mouse key press also as event).
I am calling the event code in "init.form:" section.
Does anyone have any idea of in which section it should be called and what event should be used for inputing characters...?
regards,
Satish
Hitesh Shah
7th January 2010, 15:36
standard program will not trap this event in 4gl program (unless u know text box object created by bw for ur field! ) . U can write 3gl program to create text box objects and there u can u this evtkeypress to trap on a field .
IF u want just key press on a form , then u should create a loop in a 3gl program and create a loop to trap keypressevent.