PME_Inc
asked on
Make all controls visible
I'm working on a program in which I have maxed out the limit on controls I can use in one form.
Alot of the controls are not visible, I need to make all controls on the form visible in order to run some lines of code, then bring the form back to how it was before making them all visible again.
I'm sure thier is a better way to write the code for this than listing all of the controls (i.e. Text1.Visible = True) for every control.
Anyone know of a one line solution? I guess some sort of loop may work...but maybe theirs some code like me.controls.visible = True (wait let me try that...) Nope, didn't work.
Alot of the controls are not visible, I need to make all controls on the form visible in order to run some lines of code, then bring the form back to how it was before making them all visible again.
I'm sure thier is a better way to write the code for this than listing all of the controls (i.e. Text1.Visible = True) for every control.
Anyone know of a one line solution? I guess some sort of loop may work...but maybe theirs some code like me.controls.visible = True (wait let me try that...) Nope, didn't work.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
:-)
ah