Re: Exit Edit Box on Form




> 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.

This is something you would have to write yourself which would return
true if the inputted value was complete.

> 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.
QT is a library for CLX projects. The normal equivalent is windows
which is included automatically. I would have used:

if key=#13 then ...

> 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:

None of these will work well. You really need to do this before or
after showing the second form.
How are you showing the second form?

--
Marc

.


Quantcast