Subject Re: Enter Key works One Time
From Tom G <nospam@charter.net>
Date Tue, 28 Oct 2014 00:04:06 -0400
Newsgroups dbase.getting-started

I tried adding an Edit menu which I had planned on doing.
But, unfortunately the save button still only works one time.

Thanks, Tom

Heinz Kesting Wrote:

> Hi Tom
> >
> > I put in you suggested line of: ? "PB Save onClick fired at " + time().
> >
> > The first time the sub form is opened and I use the Tab key to set focus to the pushbutton and press enter - it works fine. Displays your message and closes the sub form.
> >
> > The next time the sub form opens and I tab to the Save pushbutton - nothing happens when I press the enter key. (There is no ? "PB Save.......) and the form does not close.
> > However, I can mouse click on the Close button and it Always works.
> > I will continue investigating.
> >
> This may be completely wrong here, but I remember some time ago another
> weird thing that had kind of "the same taste".
> Does your subform has a menu? If not, assign a simple menu to it, with
> the default editUndoMenu, editCutMenu, editCopyMenu, editPasteMenu
> options and give it a try. Maybe this works here as well, or it's
> complete rubbish ...
>
> Just my two pence for this ...
> Kind regards, Heinz
>