Re: Exit Edit Box on Form



Thanks Guys for trying to Help...

However, In Mr. Wiltink's suggestion, I have tried to used a Button, but
when coming back to this form from the called form, the focus is on that
Button and not in the Maskedit box.

In Mr. Roberts's suggestion, I am using Delpi 5, and don't have an
"InputComplete" statement (do I?), so the OnChange fires up at every
possible moment which is not acceptable.

In Mr. DMNGV's suggestion, the KeyPress does not active after pressing any
keystroke, even <Enter>. And I don't have QT, whatever that is.

So, any other suggestions? Maybe there is a way, of still using another
control, like a Button, but having it come into the Maskedit box after
returning from a called form. I have tried using the FormActive,
FormCreate, FormShow, and FormPaint, and in those I have this coded:

MaskEdit1.Text := ' ';
MaskEdit1.SetFocus;
MaskEdit1.SelectAll;

And it still leaves the Button with the Focus.....

Thanks again!


R. Wakeman



.


Quantcast