Antwise community forums
VBA: Set focus in MS Access form - Printable Version

+- Antwise community forums (https://forums.antwise.com)
+-- Forum: Antview (https://forums.antwise.com/forumdisplay.php?fid=11)
+--- Forum: Antview for Windows (https://forums.antwise.com/forumdisplay.php?fid=12)
+--- Thread: VBA: Set focus in MS Access form (/showthread.php?tid=117)



VBA: Set focus in MS Access form - exebat - 2022-05-09

Hi, 

I am trying to use antview on MS Access form and it works just fine except that I can't set focus on antview control.

Webpage that I use has a textbox input with autofocus property (like text search field) and I want antview to load the webpage and set focus on that textbox on load so I can start typing without having to click on textbox but it doesnt work.

If I click on antview and hit F5 all works correctly.

Is there a way to activate control on load or maybe get control HWND ?



Thanks in advance


RE: VBA: Set focus in MS Access form - wila - 2022-05-09

Hi,

Yes, this has been added, but the new version hasn't been published yet (should be later this week).

I will send you an internal version by email.
--
Wil