C Cor Active Member Licensed User Longtime User Nov 9, 2010 #1 activity.Enabled=false still enables the activity e.g. when there is a button on the layout it is still activated gr Cor
activity.Enabled=false still enables the activity e.g. when there is a button on the layout it is still activated gr Cor
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2010 #2 Changing the enabled property of a view doesn't affect it child views (this is handled by the OS).
C Cor Active Member Licensed User Longtime User Nov 9, 2010 #3 How to disable all views on a layout? grCor
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2010 #4 B4X: For i = 0 To Activity.GetNumberOfViews Dim v As View v = Activity.GetView(i) v.Enabled = False Next
B4X: For i = 0 To Activity.GetNumberOfViews Dim v As View v = Activity.GetView(i) v.Enabled = False Next