private void insertGridControl(Short _NBorderType){
try {
curArrangement = FormWizard.SOGRID;
if (Name.equals(SOMAINFORM))
oGridControl = new GridControl(xMSF,Name + "_Grid", oFormHandler, xFormContainer, oDBMetaData.FieldColumns, aStartPoint, getMainFormSize(FormWizard.SOGRID));
else
oGridControl = new GridControl(xMSF, Name + "_Grid", oFormHandler, xFormContainer, oDBMetaData.FieldColumns, aStartPoint, getSubFormSize());
oGridControl.xPropertySet.setPropertyValue("Border", _NBorderType);
} catch (Exception e) {
e.printStackTrace(System.out);
}}