Hi to all,
I have an issue with the solution model. (in Version: 6.1.0 - build 1418, on a Mac running lion, in smart client) I have a very basic form that shows some records in table view. The form only has a body part and a footer part. I use some solution model code to add a a text field to the footer. After i click the button (which is also in the footer), the button disappears and the new text field shows in the form body part. If I resize the window slightly, the button reappears and the new text field moves down to the footer like it should. Here is the code i am using:
var _mainForm = solutionModel.getForm(controller.getName()) ;
var _footer = _mainForm.getFooterPart() ;
var _footerY = _footer.getPartYOffset() ;
var _newField = _mainForm.newTextField('table_alias_name',50,_footerY + 5 ,150 ,26) ;
_newField.enabled = false ;
_newField.horizontalAlignment = SM_ALIGNMENT.RIGHT ;
controller.recreateUI() ;
Any ideas of what I might be doing wrong here?