Click here to Skip to main content
13,151,848 members (59,309 online)
Click here to Skip to main content


2 bookmarked
Posted 2 Nov 2010

Disable Child Controls Recursively

, 13 Nov 2010
You can just use "not IsDisable" versus the IF...ELSE block. Additionally, the recursive call to ControlStatus should be done all the time so that the parent control is enabled/disabled along with the children. // to enable\disable the control & its child controls public...
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

PSU Steve
Software Developer (Senior) Self-employed, consultant to US Air Force
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170924.2 | Last Updated 13 Nov 2010
Article Copyright 2010 by PSU Steve
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid