func init // adds using namespace sys.add_use('System.Windows.Forms') // defines the style of each row arr = this.props('RowsSizeType').value if(arr.size()) for(i = 0; i < arr.size(); i++) blk_init.println(sys.get_typed_field('', 'Table', 20), '.RowStyles.Add(new RowStyle(SizeType.', code(replace(arr.get(i), '=', ', ')), '));') end end this.setfield('pname', pname) this.setfield('index', index) if(linked("Table") or not isdef("Table")) for(i = 0; i < this.numvars; i++) method(code(this.pt_var(i).name)) this.pname = cgt.get_func_name() this.index = 0 + replace(this.pname, 'Row', '') return(this.index - 1) end end end end