<?
    class frmXML extends MForm
    {
        public function __construct()
        {
            parent::__construct("Complex Layout using XML Controls - width:500px");
            $this->setWidth('500px');
        }

        public function createFields()
        {
            $data = new MDataObject();
            $data->medidas = array('Milimetros','Polegadas','Pontos');
            $this->setFieldsFromXML('example','frmXML',$data);
            $this->defaultButton = false;
        }

    }
?>