Is there a way to set a clicked object to have focus.
I'm trying to open a popup next to where I clicked and "Display popup /RP /T" with the "/RP" options works but it’s always one object behind. So it opens the popup next to the last object clicked. I'm sure it’s because I'm using the Display command in VBA so there must be a way to set focus to the object and then run the Display command.
I tried the Set Focus dot field but only certain objects like buttons have it.
I'm trying to open a popup next to where I clicked and "Display popup /RP /T" with the "/RP" options works but it’s always one object behind. So it opens the popup next to the last object clicked. I'm sure it’s because I'm using the Display command in VBA so there must be a way to set focus to the object and then run the Display command.
I tried the Set Focus dot field but only certain objects like buttons have it.