cancel
Showing results for 
Search instead for 
Did you mean: 

Focus on TAB out

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi John

Thanks ur suggestion worked out fine.