Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
For Each Frm In Forms
If (Frm.Name <> "YourMDIParentFormNameHere") Then
If ((Frm.MDIChild = True) And (Frm.Visible = True)) Then
AddTab = True
If (tab_WindowNav.Tabs.Count <> 0) Then
For Each tb In tab_WindowNav.Tabs
If (tb.Key = Frm.Name) Then
If (tb.Caption <> Frm.Caption) Then tb.Caption = Frm.Caption: TabChanged = True
AddTab = False
End If
Next tb
End If
If (AddTab = True) Then
IK& = -1
For Each img In il_WNav.ListImages
If (img.Key = Frm.Name) Then IK& = img.Index
Next img
If (IK& = -1) Then
Set newimg = il_WNav.ListImages.add(, Frm.Name, Frm.Icon)
IK& = newimg.Index
End If
tab_WindowNav.ImageList = il_WNav
NewTab = tab_WindowNav.Tabs.add(, Frm.Name, "", IK&)
tab_WindowNav.Visible = (tab_WindowNav.Tabs.Count <> 0)
End If
End If
End If
Next Frm