viewEditMode in Forms

Hello,
we have a details form which starts with the editable list form (setting element.args().formViewOption(FormViewOption::Grid); in the init method).

Switching to the details form should - depending on various reasons - show the form in edit mode. So i thougt setting the property “element.design().viewEditMode(ViewEditMode::Edit);” in the pageActivated-Event of the DetailsTab Page will switch to edit-mode, but it doesn’t.

Can anyone help?

Thanks in advance,
Frank

Hello all,
the solution is described here: http://axbloggerblog.blogspot.de/2012/07/ax-2012-view-and-edit-mode.html

Frank