|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
Checks whether WebView has parent control.
|WebView||12.1||✅ Yes||✅ Yes||❌ No||❌ No||✅ Yes|
|WebViewerRef||Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.|
Returns 0, 1 or error.
DescriptionChecks whether WebView has parent control.
When you use custom WebViewer with our plugin, you may run into the situation, that FileMaker rebuilds the layout (e.g. after changing a value list!). Then WebView.HasParent will return 0 and you know the WebViewer got removed by FileMaker.
So when you have a script triggered by user going to new layout, you can check the status of web viewer and if needed rebuild it. Or change workflows, so if user needs to change a value list, they may need to open a card window then reach the edit dialog and when they click back button to close card, you can reload WebViewer.
Whether browser has a parent:
- Version 12.1
- Added WebView.HasParent function.
This function checks for a license.
Created 28th January 2022, last changed 28th January 2022