Content


NTL
Core
IControlCreateChild

IControlCreateChild


Describes control which can create child controls for itself. For example, PageControl can create TabSheet child controls for itself. Use it as base class for your controls which could create child controls. It will result in correct behaviour in Form Builder's hierarchy editor where you will be able to create child controls.

You can find more information in comments below. Overrided methods can be found in corresponding base interface.

class IControlCreateChild: public virtual IControl
{
public:
    virtual IControl *CreateChild() = 0; // Create child control 
};
Namespace: nitisa
Include: Nitisa/Interfaces/IControlCreateChild.h