NC5自定義多級按鈕
阿新 • • 發佈:2019-02-01
protected void initPrivateButton() { super.initPrivateButton(); ButtonVO addBtnVO=ButtonVOFactory.getInstance().build(IBillButton.Add); addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.TEMP_SAVE));//暫存按鈕 add by zhangj addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.JRREFCusORDBTN)); addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.JUNIORORDERADJNUM)); addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.JRMANUALBTN)); addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.JRREFSENIORINVPREPARED)); addBtnVO.setChildAry(new int[] {IXhfxButton.JRREFCusORDBTN,IXhfxButton.JRMANUALBTN,IXhfxButton.JRREFSENIORINVPREPARED}); addPrivateButton(addBtnVO); ButtonVO refBtnVO = ButtonFactory.getButtonVO(IXhfxButton.LINKQUERY); addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.LINKCUSTORDERBILL)); addPrivateButton(ButtonFactory.getButtonVO(IXhfxButton.LINKJUNIORDERADJBILL)); refBtnVO.setChildAry(new int[] { IXhfxButton.LINKCUSTORDERBILL,IXhfxButton.LINKJUNIORDERADJBILL }); addPrivateButton(refBtnVO); }