Показать сообщение отдельно
Старый 02.09.2011, 11:50   #8  
shogel is offline
shogel
Участник
MCBMSS
Соотечественники
 
132 / 169 (6) ++++++
Регистрация: 21.02.2007
Адрес: Finland
В DAX 2012 можно делать вот так:
X++:
protected void updateDesign() 
{     
     formStringCtrl = form.control(#StringCtrlId);
     formStringCtrl.registerOverrideMethod( 
          methodStr(FormStringControl, JumpRef), 
          methodStr(MyFormHandlerClass, custTableJumpRef), 
          this); 
}  

public void custTableJumpRef(FormStringControl _control) 
{     
     Args args = new Args();     
     args.record(formDS.cursor());     
     new MenuFunction(menuitemdisplaystr(CustTable), MenuItemType::Display).run(args); 
}
__________________
The 50-50-90 rule: Any time you have a 50-50 chance of getting something right, there’s a 90% probability you’ll get it wrong.
За это сообщение автора поблагодарили: alex55 (1).