rossati Active Member Licensed User Longtime User Oct 16, 2012 #1 Hello the property Enabled of panels enable the wiews contained? John Rossati
C cjguajardo Member Licensed User Longtime User Oct 17, 2012 #3 In a new update it could be implemented or not?? It could be very helpful when a panel has many child controls. Upvote 0
In a new update it could be implemented or not?? It could be very helpful when a panel has many child controls.
JonPM Well-Known Member Licensed User Longtime User Oct 17, 2012 #4 You can just use a for loop to set each view enabled/disabled on a panel Upvote 0
klaus Expert Licensed User Longtime User Oct 17, 2012 #5 What do you want to achieve with setting the Enable properties to False ? If you want to avoid a user action on all views you could set the Visible property of the Panel to False and all views will be hidden. Best regards. Upvote 0
What do you want to achieve with setting the Enable properties to False ? If you want to avoid a user action on all views you could set the Visible property of the Panel to False and all views will be hidden. Best regards.
rossati Active Member Licensed User Longtime User Oct 17, 2012 #6 Thanks to all, in particular to JonPM: in effect whit, view, which is "generic" widget, I can disable/enable all panel’s views. J.R. Upvote 0
Thanks to all, in particular to JonPM: in effect whit, view, which is "generic" widget, I can disable/enable all panel’s views. J.R.
luciano deri Active Member Licensed User Longtime User Sep 11, 2014 #7 Yes, this is an example: Code: Copy For Each V As View In PnScreenCodi.GetAllViewsRecursive If OpGestione Then 'disabilito ogni view del pannello del "codice" se sono in gestione V.Enabled = False Else V.Enabled = True End If Next Upvote 0
Yes, this is an example: Code: Copy For Each V As View In PnScreenCodi.GetAllViewsRecursive If OpGestione Then 'disabilito ogni view del pannello del "codice" se sono in gestione V.Enabled = False Else V.Enabled = True End If Next
udg Expert Licensed User Longtime User Sep 11, 2014 #8 Another trick to make the panel and its views "read-only" could be that of superimposing a same-sized transparent panel over it. The latter will consume any eventual touch event so the former behaves like it has been disabled. udg Upvote 0
Another trick to make the panel and its views "read-only" could be that of superimposing a same-sized transparent panel over it. The latter will consume any eventual touch event so the former behaves like it has been disabled. udg