Whenever i press enter now a beep is heard , probably because the return is set on false. Any idea how this beep can be shut off? Of course my speakers soundvolume can be manually lowered on my laptop, but that's not best practice haha....
Jack
--- In [EMAIL PROTECTED], "Thomas Vogt Poulsen" <[EMAIL PROTECTED]> wrote:
Heyafter
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
> the super but this did'nt work.) Anyone an idea?sorry...
> > PS still a newbie so if this is a very stupid question i'm
> > Jack
Yahoo! Groups Sponsor ADVERTISEMENT
click here
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

