disabling Me.form aside from one panel control

dualshock03

Well-known member
Joined
Jan 28, 2007
Messages
105
Programming Experience
1-3
I would like to know how to enable one panel control from being disabled by its parent mainform which is in disabled state?? e.g."me.mainform1.enabled = false" while the panel control is "enabled= true" it seems that making a "enabled= true" state for the panel control dsnt work..

hoping any response...
 
A panel is a control in the form's controls collection. If the form is not enabled then all controls in the collection are not enabled either. If it's not in the form's controls collection, it's not on the form.

What you're trying to do is not possible.

What you should do, is disable all controls on the form (except your panel), which can be done by a very simple loop.
 
Back
Top