Container Property (AControl) |
Version 5 |
Returns the control's container object.
[ obContainer = ] Object.Container
The Container property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
A control |
A control object |
|
obContainer |
Object |
An object which contains this control object. |
When you hide or move the container it will hide or move its controls. Also when you disable the container it will disable its child controls.
The following statement hides the group of controls where the checkbox exists:
chkOption1.Container.Visible=False