I tried your suggestion. No go. The scroll bar stays at the bottom.
I have several cards in a card layout.
I switch to the form with the TextArea, scroll to the bottom, then switch to another form
in the card layout, then switch back to the form with the TextArea.
Right before calling setActiveItem to switch to the form with the TextArea I call load on a Store, the Store Load event calls:
function CLP_AccountLettersStoreLoad(StoreObj, Records, Options)
{
if (Records.length == 0) return;
var FormObj = WindowObj.findById('AccountLettersForm');
FormObj.getForm().loadRecord(Records[0]);
CLP_AccountLettersScrollTop();
}
function CLP_AccountLettersScrollTop()
{
var FormObj = WindowObj.findById('AccountLettersForm');
var LetterObj = FormObj.findById('Letter');
LetterObj.getEl().scrollTop = 0;
FormObj.doLayout();
}