Hi all,
I want to open a specific tab page when the form is opened.
Requirement:
There is a goods receipt posted and this goods receipt is marked to create an inventory quality order. So after posting the InventQualityOrderTable form should be opened with a defined tab page...
I create an extension class of this InventQualityOrderTable form like:
[ExtensionOf(formStr(InventQualityOrderTable))] public final class myInventQualityOrderTableFrm_Extension { /// <summary> /// additional logic for init()-methode /// </summary> public void init() { next init(); if (this.args() && this.args().caller()) { FormTabPageControl ftc = this.design().controlName(formControlStr(InventQualityOrderTable, myQualityReasonTab)) as FormTabPageControl; ftc.setFocus(); } }
}
The instanciation of FromTapPageControl works fine but the focus will not be set on this tab page, the opened tab page is standard tab...
Do I have to use another command?