You could use the OnExit event of that field to programmatically call up the
other form and setfocus on the desired field. That being said, one should be
careful with that kind of design that it is what the user wants. What if the
user didn't tab through filling out each field consecutively? If I were
implementing that, I'd want to check the form to see if all fields have been
filled out first, then bring up the other form and setfocus for more data entry
if no problems are encountered.
Dave
Emmanuel Lamy <[EMAIL PROTECTED]> wrote: Hi
everybody,
I am working on a "multi-form" project where fields on a certain page
may be the continuation of those on a previous page. Through the Main
Form KeyPreview property and OnKeyPress event I want to intercept the
WM_NextDlgCTL message from the last field on a page to load the next
one and focus on the next field. Anyone has an idea how I could
accomplish this? TIA.
Emmanuel
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
[Non-text portions of this message have been removed]