Skip to Content
author's profile photo Former Member
Former Member

Focus on TAB out

I have a matrix in the screen. when i tab out the first column of matrix , a Look-up (formatted search screen)has to be displayed.The value i select in the from the Look- up has to be put in first column of the matrix.

on TAB out of the first column i display the Look-up. Once i TAB out, the focus goes to the Next column . So the value from the Look-up gets displayed in the second column of the matrix instead of the first one.

But in many of the standard screens i see that the focus remains on the Same control when a Look-up pops up.

I tried VALIDATE,LOSTFOCUS events also.

Can anyone help?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2004 at 12:27 PM

    You could try the following:-

    Intercept the TAB key press using KEY_DOWN, make sure Before_Action = True.

    Call the formatted search using ActivateMenuItem, then set BubbleEvent to false to prevent the TAB key being processed.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.