<?
 class FrmContainer extends MForm
 {
    public function __construct()
    {   
		parent::__construct('MAreaContainer');
	}

    public function createFields()
	{
       $fields = Array(
		   new MAreaContainer('cntExample')
       );
	   $this->setFields($fields);
       $this->cntExample->addElement(new MText('','a Mtext at Top Area'), 'top');
       $this->cntExample->addElement(new MText('','a Mtext at Left Area'), 'left');
       $this->cntExample->addElement(new MText('','a Mtext at Center Area'), 'center');
       $this->cntExample->addElement(new MText('','a Mtext at Right Area'), 'right');
       $this->cntExample->addElement(new MText('','a Mtext at Bottom Area'), 'bottom');
	   $this->defaultButton = false;
	}

 }

?>
