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 comment
10|10000 characters needed characters exceeded

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 comment
    10|10000 characters needed characters exceeded