Contents - Index - Top


PreviousFocusWindowHandleHwnd

Interface AntView 

 

Type: Property

Access: Write-Only

Data Type: OLE_HANDLE

 

 

Overrides default focus behavior when you shift-tab out of the control. 

Set to the Window Handle of the control that you want to take the focus.

 

Currently the default focus behavior is that the tab behavior will stop at the first control in the page. It won't hang, but it also won't tab out of the control.

 

For the 64 bit compatible version you should use PreviousFocusWindowHandle

This version was specifically added for VB6 support.

 

VB6 Example:

Private Sub Form_Initialize()

  EdgeWebBrowser.UnlockControl "ExampleCompany", "WI5PO2-2KSU3Q-HWFXFU-IUMU2V-QF8P2F"

  EdgeWebBrowser.NextFocusWindowHandleHwnd = GoButton.hwnd

  EdgeWebBrowser.PreviousFocusWindowHandleHwnd = GetHtmlButton.hwnd

End Sub

 

 

Introduced in AntView release 1.1.314

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 09/25/2024