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.
Private Sub cmdCntlList_Click()
Dim lCtl As Control
For Each lCtl In Me.Controls
Debug.Print lCtl.Name, lCtl.Parent.Name
Next
End Sub
For Each lCtl In Me.Controls
If lCtl.Parent.Name = "<TabPageName>" Then
lCtl.Enabled = True
End If
Next
Private Sub cmdCntlList_Click()
Dim lCtl_ControlID As Control
Dim lCtl_InnerCntrl As Control
For Each lCtl_ControlID In Me.Controls
If (lCtl_ControlID.Parent.Name = "<pageName>") Then
If (lCtl_ControlID.ControlType <> acLabel) Then
lCtl_ControlID.Enabled = False
End If
Else
If (lCtl_ControlID.Parent.Name <> Me.Name) Then
Set lCtl_InnerCntrl = lCtl_ControlID.Parent
Do While (lCtl_InnerCntrl.Parent.Name <> Me.Name)
If (lCtl_InnerCntrl.Parent.Name = "<pageName>") Then
If (lCtl_ControlID.ControlType <> acLabel) Then
lCtl_ControlID.Enabled = False
End If
End If
Set lCtl_InnerCntrl = lCtl_InnerCntrl.Parent
Loop
End If
End If
Next
End Sub
Private Sub cmdCntlList_Click()
Dim lCtl_ControlID As Control
Set lCtl_ControlID = Me.Controls("pageWell")
GetAllControls lCtl_ControlID
End Sub
Sub GetAllControls(rCtl_ParentCntl As Control)
Dim lCtl_ChildCntl As Control
Debug.Print rCtl_ParentCntl.Name
If (rCtl_ParentCntl.ControlType <> acLabel) Then
rCtl_ParentCntl.Enabled = Not rCtl_ParentCntl.Enabled
For Each lCtl_ChildCntl In rCtl_ParentCntl.Controls
If (lCtl_ChildCntl.Parent.Name = rCtl_ParentCntl.Name) Then
GetAllControls lCtl_ChildCntl
End If
Next
End If
End Sub