Skip to main content
Dominique Sacre
Rocketeer
Feb 15, 2013 10:28 PM UTC

How can I set focus on an ActiveX control in Dialog

Problem:

How can I set focus on an ActiveX control in Dialog. For example if my focus is on a entry field how can I reset focus on an ActiveX grid control.

Resolution:

You should use the "setfocus" method of the activex. Some example Dialog to do this is:-

     INVOKE OCX-01-OBJREF "SETFOCUS" $NULL

Old KB# 1282