Now, I can understand if this is a separate control, this might be A useful feature, but it is part of the aggregate component, so it should follow the rules of the parent control, not the rule of the form designer. Is there a way to ensure that the control disappears when setting it. Visible:= false; even if it is in the form design division?
I am creating a custom control that contains other controls, including two scroll bars, one horizontal and one vertical. There is a property to set one or The two scroll bars are not visible, it works fine at runtime, but at design time it does not disappear from the form designer when setting properties.
Now, I can understand if this is A single control, this may be a useful feature, but it is part of the aggregate component, so it should follow the rules of the parent control, not the rules of the form designer. Is there a way to ensure that the control disappears when setting it up. Visible:= false; even if it is in the form designer?
You can set the “csNoDesignVisible” ControlStyle flag of the control. If this flag is set, the Visible property will work as it does at runtime.