Hello everyone,
I'm working on a project where I need to try and get the default visibility setting of controls on a form while the form itself is not visible. It's for a security type feature that can hide / display controls based on some specific settings. The problem I'm having is just doing Control.Visible always returns false if the form is not loaded / visible. So I can't figure out a way to tell if the control is supposed to be invisible by default or if it's simply not visible because the form isn't visible.
Is there some way to achieve this? I need this to happen dynamically as it's doing it on forms that are part of plugins for the main program. When the program is finished people other than me may be developing these plugins, so I don't really want it to be something that would require initializing the controls with the security object from the form if I can avoid it.
Thanks!
I'm working on a project where I need to try and get the default visibility setting of controls on a form while the form itself is not visible. It's for a security type feature that can hide / display controls based on some specific settings. The problem I'm having is just doing Control.Visible always returns false if the form is not loaded / visible. So I can't figure out a way to tell if the control is supposed to be invisible by default or if it's simply not visible because the form isn't visible.
Is there some way to achieve this? I need this to happen dynamically as it's doing it on forms that are part of plugins for the main program. When the program is finished people other than me may be developing these plugins, so I don't really want it to be something that would require initializing the controls with the security object from the form if I can avoid it.
Thanks!