Hey

There are two other possibilities depending on your solution.
1. If you only want to stay in the field when then field is modied, then just return false in the modified field (after super()).


This makes the cursor stay in the field and the value saved.

2. If you never want to leave the field it's the Leave-method you want to use, mayby combined with some overriding of the form Task-
method.


If you return false ind the Leave-method you never get out.

Thomas Poulsen
AXDATA

--- In [EMAIL PROTECTED], "Jack Schilder" <[EMAIL PROTECTED]> wrote:
Hi there

I have the following problem: When pressing enter in a stringedit
the
focus goes on to the next field. In my case a checkbox.
I believe it's standard axapta but i want to keep focus on the stringedit after pressing enter. I tried to write this.setfocus()
on
the modified method of the stringedit (i tried it before and after the super but this did'nt work.) Anyone an idea?

PS still a newbie so if this is a very stupid question i'm sorry...

Jack



Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to